commit bd6f284c3346899a6268b49ab7cfc6325194b00c parent ffae59c912748ad946842408405042d9a03adf16 Author: sin <sin@2f30.org> Date: Tue, 18 Nov 2014 16:07:23 +0000 Pass down CC as well Diffstat:
M | Makefile | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile b/Makefile @@ -4,7 +4,7 @@ all: @echo "CFLAGS = $(CFLAGS)" @echo "LDFLAGS = $(LDFLAGS)" @echo "CC = $(CC)" - for i in $(TARG); do cd $$i && $(MAKE) CFLAGS=$(CFLAGS) LDFLAGS=$(LDFLAGS) || exit; cd ..; done + for i in $(TARG); do cd $$i && $(MAKE) CC=$(CC) CFLAGS=$(CFLAGS) LDFLAGS=$(LDFLAGS) || exit; cd ..; done install: for i in $(TARG); do cd $$i && $(MAKE) install || exit; cd ..; done