version 1.71, 2017/06/16 10:20:52 |
version 1.72, 2017/07/01 14:41:54 |
|
|
SRCS?= ${PROG}.c |
SRCS?= ${PROG}.c |
. if !empty(SRCS:N*.h:N*.sh) |
. if !empty(SRCS:N*.h:N*.sh) |
OBJS+= ${SRCS:N*.h:N*.sh:R:S/$/.o/} |
OBJS+= ${SRCS:N*.h:N*.sh:R:S/$/.o/} |
|
DEPS+= ${OBJS:R:S/$/.d/} |
|
|
_LEXINTM+=${SRCS:M*.l:.l=.c} |
_LEXINTM+=${SRCS:M*.l:.l=.c} |
_YACCINTM+=${SRCS:M*.y:.y=.c} |
_YACCINTM+=${SRCS:M*.y:.y=.c} |
. endif |
. endif |
|
|
|
|
.if !defined(NOMAN) |
.if !defined(NOMAN) |
.include <bsd.man.mk> |
.include <bsd.man.mk> |
|
.endif |
|
|
|
# if we already got bsd.lib.mk we don't want to wreck that |
|
.if !defined(_LIBS) |
|
.s.o: |
|
${COMPILE.S} -MD -MF ${.TARGET:R}.d -o $@ ${.IMPSRC} |
|
|
|
.S.o: |
|
${COMPILE.S} -MD -MF ${.TARGET:R}.d -o $@ ${.IMPSRC} |
.endif |
.endif |
|
|
.include <bsd.obj.mk> |
.include <bsd.obj.mk> |