1 RAGEL = ../../ragel/ragel
2 RLCODEGEN = ../../rlcodegen/rlcodegen
8 gotocallret: gotocallret.o
9 g++ -g -o gotocallret gotocallret.o
11 gotocallret.cpp: gotocallret.rl $(RAGEL) $(RLCODEGEN)
12 $(RAGEL) gotocallret.rl | $(RLCODEGEN) -G2 -o gotocallret.cpp
14 gotocallret.o: gotocallret.cpp
15 g++ -Wall -g -c -O3 -o $@ $<
17 gotocallret.ps: gotocallret.rl $(RAGEL) $(RLCODEGEN)
18 $(RAGEL) gotocallret.rl | $(RLCODEGEN) -V | dot -Tps > gotocallret.ps
21 rm -Rf *.o gotocallret.cpp gotocallret gotocallret.ps