aboutsummaryrefslogtreecommitdiffstats
path: root/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'makefile')
-rw-r--r--makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/makefile b/makefile
index 4908107..8bc9679 100644
--- a/makefile
+++ b/makefile
@@ -67,7 +67,10 @@ $(PARSRCDIR)/c_parser.tab.cpp $(PARSRCDIR)/c_parser.tab.hpp : $(PARSRCDIR)/c_par
@echo " bison -v -d $< -o $(PARSRCDIR)/c_parser.tab.cpp"; bison -v -d $< -o $(PARSRCDIR)/c_parser.tab.cpp
# Make the c_parser
-bin/c_compiler: $(COMPBUILDDIR)/compiler_main.o \
+bin/c_compiler: $(COMPBUILDDIR)/compiler_main.o $(COMPBUILDDIR)/statement.o \
+ $(COMPBUILDDIR)/function.o $(COMPBUILDDIR)/expression.o \
+ $(COMPBUILDDIR)/initializer.o $(COMPBUILDDIR)/translation_unit.o \
+ $(COMPBUILDDIR)/declaration.o \
$(COMPBUILDDIR)/c_parser.tab.o $(COMPBUILDDIR)/c_lexer.yy.o
@echo "Linking..."
@echo " mkdir -p bin"; mkdir -p bin