diff options
author | Michael Forney <mforney@mforney.org> | 2019-02-22 21:06:01 -0800 |
---|---|---|
committer | Michael Forney <mforney@mforney.org> | 2019-02-22 21:06:01 -0800 |
commit | 52eed9336c2cb8cd68ea04be6a71471bef1dcc5e (patch) | |
tree | b521652f10a15d31fc29ae47f6f2660f7f84974d /Makefile | |
parent | 4ac18e485be440a0fc7312c0c7589870aeeef58a (diff) |
Don't need CFLAGS with linking
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 $@ |