WARNS=-W -Wall -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -O1 -ggdb3

F=mtest1 mtest2 mtest3 mtest4 mtest5

all: $(F)

# htm and ln because make will rm it (thinking it's only a dependancy) when the
# program is made
%.htm: %
		jhighlight --cssfile=f_c.css $< > $@
		ln -f $@ $@l

mtest%: mtest%.c mtest%.c.htm debug.h debug.h.htm
		@echo $@
		@gcc $(WARNS) -o $@ $<

clean:
		rm -f $(F) *~ *.o *.html