Annotation of mandoc/Makefile, Revision 1.55
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.55 ! kristaps 5: LNS = macro.ln mdoc.ln mdocml.ln hash.ln strings.ln xstd.ln argv.ln validate.ln prologue.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.55 ! kristaps 11: OBJS = macro.o mdoc.o mdocml.o hash.o strings.o xstd.o argv.o validate.o prologue.o
1.4 kristaps 12:
1.55 ! kristaps 13: SRCS = macro.c mdoc.c mdocml.c hash.c strings.c xstd.c argv.c validate.c prologue.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.50 kristaps 25: mdocml: mdocml.o libmdoc.a
26: $(CC) $(CFLAGS) -o $@ mdocml.o libmdoc.a
1.1 kristaps 27:
28: clean:
29: rm -f $(CLEAN)
30:
1.55 ! kristaps 31: llib-llibmdoc.ln: macro.ln mdoc.ln hash.ln strings.ln xstd.ln argv.ln validate.ln prologue.ln
! 32: $(LINT) $(LINTFLAGS) -Clibmdoc mdoc.ln macro.ln hash.ln strings.ln xstd.ln argv.ln validate.ln prologue.ln
1.20 kristaps 33:
1.51 kristaps 34: llib-lmdocml.ln: mdocml.ln llib-llibmdoc.ln
35: $(LINT) $(LINTFLAGS) -Cmdocml mdocml.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.50 kristaps 45: hash.ln: hash.c private.h
1.21 kristaps 46:
1.50 kristaps 47: hash.o: hash.c private.h
1.21 kristaps 48:
1.50 kristaps 49: mdoc.ln: mdoc.c private.h
1.39 kristaps 50:
1.50 kristaps 51: mdoc.o: mdoc.c private.h
1.47 kristaps 52:
1.50 kristaps 53: mdocml.ln: mdocml.c mdoc.h
1.47 kristaps 54:
1.50 kristaps 55: mdocml.o: mdocml.c mdoc.h
1.39 kristaps 56:
1.53 kristaps 57: xstd.ln: xstd.c private.h
58:
59: xstd.o: xstd.c private.h
60:
61: argv.ln: argv.c private.h
62:
63: argv.o: argv.c private.h
64:
1.54 kristaps 65: validate.ln: validate.c private.h
66:
67: validate.o: validate.c private.h
68:
1.55 ! kristaps 69: prologue.ln: prologue.c private.h
! 70:
! 71: prologue.o: prologue.c private.h
! 72:
1.50 kristaps 73: private.h: mdoc.h
1.39 kristaps 74:
1.55 ! kristaps 75: libmdoc.a: macro.o mdoc.o hash.o strings.o xstd.o argv.o validate.o prologue.o
! 76: $(AR) rs $@ macro.o mdoc.o hash.o strings.o xstd.o argv.o validate.o prologue.o
1.39 kristaps 77:
CVSweb