[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvsweb.bsd.lv] / texi2mdoc

Annotation of texi2mdoc/Makefile, Revision 1.4

1.2       kristaps    1: CFLAGS += -g -W -Wall -Wstrict-prototypes -Wno-unused-parameter -Wwrite-strings
1.4     ! kristaps    2: OBJS = main.o util.o
        !             3: SRCS = main.c util.c
        !             4: VERSIONS = version_0_1_1.xml
1.2       kristaps    5:
                      6: all: texi2mdoc
                      7:
1.3       kristaps    8: www: index.html texi2mdoc.1.html
                      9:
1.2       kristaps   10: afl: afl/texi2mdoc
1.1       kristaps   11:
1.4     ! kristaps   12: texi2mdoc: $(OBJS)
        !            13:        $(CC) -o $@ $(OBJS)
1.1       kristaps   14:
1.4     ! kristaps   15: $(OBJS): extern.h
1.2       kristaps   16:
1.4     ! kristaps   17: afl/texi2mdoc: extern.h $(SRCS)
        !            18:        afl-clang -o $@ $(SRCS)
        !            19:
        !            20: index.html: index.xml $(VERSIONS)
        !            21:        sblg -o $@ -t index.xml $(VERSIONS)
1.3       kristaps   22:
                     23: texi2mdoc.1.html: texi2mdoc.1
                     24:        mandoc -Thtml $< >$@
                     25:
1.1       kristaps   26: clean:
1.4     ! kristaps   27:        rm -f $(OBJS)
        !            28:        rm -f texi2mdoc afl/texi2mdoc
1.2       kristaps   29:        rm -rf texi2mdoc.dSYM afl/texi2mdoc.dSYM
1.3       kristaps   30:        rm -f index.html texi2mdoc.1.html

CVSweb