1
0
mirror of git://projects.qi-hardware.com/antorcha.git synced 2024-11-25 19:10:18 +02:00

tools/libtxt/Makefile: add "ben" target for cross-compilation

This commit is contained in:
Werner Almesberger 2012-09-14 05:34:30 -03:00
parent 8d967a0480
commit 80a2bf3796

View File

@ -18,10 +18,13 @@ CFLAGS = -g -Wall -D_GNU_SOURCE
OBJS = edit.o font.o
.PHONY: all clean spotless
.PHONY: all ben clean spotless
all: $(LIB)
ben:
$(MAKE) CC=mipsel-openwrt-linux-gcc
$(LIB): $(OBJS)
$(AR) cr $@ $^