git.iko.soy/typeable/attoparsec
on 0.11.1.0 help sign in
15 lines 290 B history raw
1CC := gcc
2CFLAGS := -O3 -Wall
3# To make the code about 6% faster:
4# CFLAGS += -fwhole-program --combine
5CPPFLAGS := -I$(HOME)/hg/http-parser
7all: c-http
9c-http: rfc2616.c http_parser.c
10 $(CC) $(CFLAGS) $(CPPFLAGS) -o $@ $^
12clean:
13 rm -f *.hi *.o c-http
15vpath %.c $(HOME)/hg/http-parser