2 CFLAGS=-O6 -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual -Wcast-align
3 CPPFLAGS=-D_GNU_SOURCE=1
4 OBJS = util.o tserver.o cgi.o template.o
6 INCLUDES = includes.h cgi.h template.h
10 @$(CC) -c $(CPPFLAGS) $(CFLAGS) $*.c
16 @$(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS)
19 template: template.o template_main.o util.o
21 @$(CC) $(CFLAGS) -o $@ $^ $(LIBS)
24 /bin/rm -f *.o tserver template *~ files/*~