From c66dc142d240ec2e2ae78201d9614de76535be38 Mon Sep 17 00:00:00 2001 From: Teddy Date: Sat, 3 Aug 2013 23:09:59 +0800 Subject: C++ version now works! --- Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'Makefile') 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 -- cgit v1.2.3-70-g09d2