From 80a2bf3796c1b687bdd7ec8451e3982153ac3cd7 Mon Sep 17 00:00:00 2001 From: Werner Almesberger Date: Fri, 14 Sep 2012 05:34:30 -0300 Subject: [PATCH] tools/libtxt/Makefile: add "ben" target for cross-compilation --- tools/libtxt/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tools/libtxt/Makefile b/tools/libtxt/Makefile index cc3dd0d..db4176c 100644 --- a/tools/libtxt/Makefile +++ b/tools/libtxt/Makefile @@ -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 $@ $^