commit b1bc08c47735e79475c902e4c5838b57c218653a parent bf86ecbe9208f5f8b8007fe4e70c2e3777cbe365 Author: sin <sin@2f30.org> Date: Tue, 18 Nov 2014 16:44:48 +0000 Guard CC, CFLAGS and LDFLAGS in double quotes 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) CC=$(CC) 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