aboutsummaryrefslogtreecommitdiff
path: root/gcc/jit/docs/examples/tut04-toyvm/Makefile
blob: 1b45c8de186dfbcf8b319b389bb883b2361326f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
factorial: toyvm
	./toyvm factorial.toy 10

fibonacci: toyvm
	./toyvm fibonacci.toy 8

toyvm: toyvm.c Makefile
	g++ -Wall -g -o $@ $< $(shell pkg-config --cflags --libs libgccjit)

clean:
	rm -f *.o toyvm