version 1.1, 2015/02/16 22:24:43 |
version 1.4, 2015/02/20 09:58:50 |
|
|
CFLAGS += -g -W -Wall -Wstrict-prototypes -Wno-unused-parameter -Wwrite-strings |
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 |
|
|
texi2mdoc: main.o |
all: texi2mdoc |
$(CC) -o $@ main.o |
|
|
|
|
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: |
clean: |
rm -f texi2mdoc main.o |
rm -f $(OBJS) |
rm -rf texi2mdoc.dSYM |
rm -f texi2mdoc afl/texi2mdoc |
|
rm -rf texi2mdoc.dSYM afl/texi2mdoc.dSYM |
|
rm -f index.html texi2mdoc.1.html |