aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
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