From 52eed9336c2cb8cd68ea04be6a71471bef1dcc5e Mon Sep 17 00:00:00 2001 From: Michael Forney Date: Fri, 22 Feb 2019 21:06:01 -0800 Subject: Don't need CFLAGS with linking --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 2396db1..d776845 100644 --- a/Makefile +++ b/Makefile @@ -17,7 +17,7 @@ config.h: @cp config.def.h $@ cc: $(DRIVER_OBJ) - $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(DRIVER_OBJ) + $(CC) $(LDFLAGS) -o $@ $(DRIVER_OBJ) SRC=\ decl.c\ @@ -63,6 +63,7 @@ qbe.o : $(srcdir)/qbe.c $(stagedeps) ; $(CC) $(CFLAGS) -c -o $@ $< stage2: cc cc-qbe @mkdir -p $@ $(MAKE) -C $@ -f ../$(srcdir)/Makefile srcdir=../$(srcdir) stagedeps='../cc ../cc-qbe' CC=../cc + .PHONY: stage3 stage3: stage2 @mkdir -p $@ -- cgit v1.2.3