aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: 45795d8210536f5aa50b55882de4446ecf94d79b (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 types.o
	g++ -o main $^ -pg -lgmp

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

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

db:
	gdb main

cdb:
	cgdb main