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