aboutsummaryrefslogtreecommitdiffstats
path: root/makefile
diff options
context:
space:
mode:
authorYann Herklotz <ymherklotz@gmail.com>2017-03-05 20:55:12 +0000
committerYann Herklotz <ymherklotz@gmail.com>2017-03-05 20:55:12 +0000
commiteccb6c5360f213675a513e875bc424b8bdee16e7 (patch)
tree88b2826a2898223bcd5f02d5e5fd1f2c1c9b7e2a /makefile
parent6b7f5137edb18372bc3e3076dab1cb45c8e4c2ec (diff)
downloadCompiler-eccb6c5360f213675a513e875bc424b8bdee16e7.tar.gz
Compiler-eccb6c5360f213675a513e875bc424b8bdee16e7.zip
Finished ast change and it works
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