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

Annotation of mandoc/Makefile, Revision 1.58

1.50      kristaps    1: VERSION        = 1.1.0
1.31      kristaps    2:
1.50      kristaps    3: CFLAGS += -W -Wall -Wno-unused-parameter -g
1.7       kristaps    4:
1.58    ! kristaps    5: LNS    = macro.ln mdoc.ln mdocml.ln hash.ln strings.ln xstd.ln argv.ln validate.ln action.ln tree.ln
1.4       kristaps    6:
1.50      kristaps    7: LLNS   = llib-llibmdoc.ln llib-lmdocml.ln
1.4       kristaps    8:
1.50      kristaps    9: LIBS   = libmdoc.a
1.4       kristaps   10:
1.58    ! kristaps   11: OBJS   = macro.o mdoc.o mdocml.o hash.o strings.o xstd.o argv.o validate.o action.o tree.o
1.4       kristaps   12:
1.58    ! kristaps   13: SRCS   = macro.c mdoc.c mdocml.c hash.c strings.c xstd.c argv.c validate.c action.c tree.c
1.4       kristaps   14:
1.50      kristaps   15: HEADS  = mdoc.h
1.1       kristaps   16:
1.50      kristaps   17: BINS   = mdocml
1.4       kristaps   18:
1.50      kristaps   19: CLEAN  = $(BINS) $(LNS) $(LLNS) $(LIBS) $(OBJS)
1.29      kristaps   20:
1.50      kristaps   21: all:   $(BINS)
1.32      kristaps   22:
1.50      kristaps   23: lint:  $(LLNS)
1.42      kristaps   24:
1.58    ! kristaps   25: mdocml:        mdocml.o tree.o libmdoc.a
        !            26:        $(CC) $(CFLAGS) -o $@ mdocml.o tree.o libmdoc.a
1.1       kristaps   27:
                     28: clean:
                     29:        rm -f $(CLEAN)
                     30:
1.57      kristaps   31: llib-llibmdoc.ln: macro.ln mdoc.ln hash.ln strings.ln xstd.ln argv.ln validate.ln action.ln
                     32:        $(LINT) $(LINTFLAGS) -Clibmdoc mdoc.ln macro.ln hash.ln strings.ln xstd.ln argv.ln validate.ln action.ln
1.20      kristaps   33:
1.58    ! kristaps   34: llib-lmdocml.ln: mdocml.ln tree.ln llib-llibmdoc.ln
        !            35:        $(LINT) $(LINTFLAGS) -Cmdocml mdocml.ln tree.ln llib-llibmdoc.ln
1.20      kristaps   36:
1.50      kristaps   37: macro.ln: macro.c private.h
1.21      kristaps   38:
1.50      kristaps   39: macro.o: macro.c private.h
1.21      kristaps   40:
1.52      kristaps   41: strings.ln: strings.c private.h
                     42:
                     43: strings.o: strings.c private.h
                     44:
1.58    ! kristaps   45: tree.ln: tree.c mdoc.h
        !            46:
        !            47: tree.o: tree.c mdoc.h
        !            48:
1.50      kristaps   49: hash.ln: hash.c private.h
1.21      kristaps   50:
1.50      kristaps   51: hash.o: hash.c private.h
1.21      kristaps   52:
1.50      kristaps   53: mdoc.ln: mdoc.c private.h
1.39      kristaps   54:
1.50      kristaps   55: mdoc.o: mdoc.c private.h
1.47      kristaps   56:
1.50      kristaps   57: mdocml.ln: mdocml.c mdoc.h
1.47      kristaps   58:
1.50      kristaps   59: mdocml.o: mdocml.c mdoc.h
1.39      kristaps   60:
1.53      kristaps   61: xstd.ln: xstd.c private.h
                     62:
                     63: xstd.o: xstd.c private.h
                     64:
                     65: argv.ln: argv.c private.h
                     66:
                     67: argv.o: argv.c private.h
                     68:
1.54      kristaps   69: validate.ln: validate.c private.h
                     70:
                     71: validate.o: validate.c private.h
                     72:
1.56      kristaps   73: action.ln: action.c private.h
                     74:
                     75: action.o: action.c private.h
                     76:
1.50      kristaps   77: private.h: mdoc.h
1.39      kristaps   78:
1.57      kristaps   79: libmdoc.a: macro.o mdoc.o hash.o strings.o xstd.o argv.o validate.o action.o
                     80:        $(AR) rs $@ macro.o mdoc.o hash.o strings.o xstd.o argv.o validate.o action.o
1.39      kristaps   81:

CVSweb