aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorTeddy <[email protected]>2014-04-27 02:25:48 +0800
committerTeddy <[email protected]>2014-04-27 02:25:48 +0800
commitfbafb96963beae48ca095839ffb17b82f9901e5f (patch)
tree36a3ec0dde78269ca3e1d5ccd985bfd849370104 /Makefile
parent0282e6aa2f3b24a3ffed876b099ec97e6a79a8ff (diff)
ssa init
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index b4bb524..dd26615 100644
--- a/Makefile
+++ b/Makefile
@@ -6,9 +6,9 @@ run:
db:
gdb cibic
-cibic: lex.yy.o cibic.tab.o ast.o main.o semantics.o
+cibic: lex.yy.o cibic.tab.o ast.o main.o semantics.o ssa.o
mkdir -p bin
- gcc -o bin/cibic lex.yy.o cibic.tab.o ast.o main.o semantics.o
+ gcc -o bin/cibic lex.yy.o cibic.tab.o ast.o main.o semantics.o ssa.o
cp bin/cibic cibic
lex.yy.o: lex.yy.c cibic.tab.c
gcc -c lex.yy.c
@@ -20,6 +20,8 @@ ast.o: ast.c ast.h
gcc -c ast.c -g -Wall -Wextra -DCIBIC_DEBUG
semantics.o: semantics.c semantics.h
gcc -c semantics.c -g -Wall -Wextra -DCIBIC_DEBUG
+ssa.o: ssa.c ssa.h
+ gcc -c ssa.c -g -Wall -Wextra -DCIBIC_DEBUG
lex.yy.c: cibic.l
flex cibic.l
cibic.tab.c: cibic.y