aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: 3a3f37a5ddefa2edf82bfc2e8499bdf26bcd1871 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
main: main.o parser.o builtin.o model.o eval.o exc.o consts.o
	g++ -o main $^ -pg -lgmp

.cpp.o:
	g++ $< -c -g -pg -DDEBUG -DGMP_SUPPORT

clean:
	rm -f *.o
	rm -f main

db:
	gdb main

cdb:
	cgdb main