You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
http-parser/Makefile

15 lines
238 B

test: http_parser.o test.c
gcc -g -O2 $^ -o $@
http_parser.o: http_parser.c http_parser.h Makefile
gcc -g -c -O2 $<
http_parser.c: http_parser.rl Makefile
ragel -s -G2 $< -o $@
clean:
rm -f *.o http_parser.c test
.PHONY: clean