CFLAGS += -g -W -Wall -Wstrict-prototypes -Wno-unused-parameter -Wwrite-strings OBJS = main.o util.o SRCS = main.c util.c VERSIONS = version_0_1_1.xml all: texi2mdoc www: index.html texi2mdoc.1.html afl: afl/texi2mdoc texi2mdoc: $(OBJS) $(CC) -o $@ $(OBJS) $(OBJS): extern.h afl/texi2mdoc: extern.h $(SRCS) afl-clang -o $@ $(SRCS) index.html: index.xml $(VERSIONS) sblg -o $@ -t index.xml $(VERSIONS) texi2mdoc.1.html: texi2mdoc.1 mandoc -Thtml $< >$@ clean: rm -f $(OBJS) rm -f texi2mdoc afl/texi2mdoc rm -rf texi2mdoc.dSYM afl/texi2mdoc.dSYM rm -f index.html texi2mdoc.1.html