CPPFLAGS := -g3 -O0 -Wall -Werror LDFLAGS := -Wl,--as-needed all: inapt inapt: inapt.o parser.o contrib/acqprogress.o util.o g++ -o inapt -g3 -Wall -Werror -lapt-pkg $^ inapt.o: inapt.h parser.cc: parser.rl ragel parser.rl -o parser.cc parser.dot: parser.rl ragel -pV parser.rl -o parser.dot parser.png: parser.dot dot -Tpng -o parser.png parser.dot clean: rm -f *.o contrib/*.o inapt parser.png parser.dot parser.cc