aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
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 $@