
CFLAGS = $(shell libwww-config --cflags) -Wall -O2
LDFLAGS = $(shell libwww-config --libs)

programs = LoadToFile chunk chunkbody cookie eventloop getheaders head init \
	isredirected libapp_1 libapp_2 libapp_3 libapp_4 listen memput mget \
	multichunk post postform put range showlinks showtags showtext tiny \
	trace tzcheck upgrade
nonworking = ptri rdf_parse_buffer rdf_parse_file showxml stri wwwssl

all:	$(programs)
clean:
	rm -f $(programs) $(nonworking)
.PHONY:	all clean

%.c: %.c.gz
	zcat "$<" >"$@"
