1
0
mirror of git://projects.qi-hardware.com/antorcha.git synced 2024-11-22 19:15:20 +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 OBJS = edit.o font.o
.PHONY: all clean spotless .PHONY: all ben clean spotless
all: $(LIB) all: $(LIB)
ben:
$(MAKE) CC=mipsel-openwrt-linux-gcc
$(LIB): $(OBJS) $(LIB): $(OBJS)
$(AR) cr $@ $^ $(AR) cr $@ $^