aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorTeddy <[email protected]>2013-08-03 23:09:59 +0800
committerTeddy <[email protected]>2013-08-03 23:09:59 +0800
commitc66dc142d240ec2e2ae78201d9614de76535be38 (patch)
treec9df286951328d7a477415946e8000beef6843ad /Makefile
parente462669c3c3cc04ea29420e14dbb589899d201ec (diff)
C++ version now works!
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 847cf3e..596f45f 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
-main: parser.o builtin.o model.o main.o
- g++ -o main $^
+main: main.o parser.o builtin.o model.o eval.o
+ g++ -o main $^ -g
.cpp.o:
g++ $< -c -g -DDEBUG
@@ -7,3 +7,6 @@ main: parser.o builtin.o model.o main.o
clean:
rm -f *.o
rm -f main
+
+db:
+ gdb main