Whitespace diff reduction between bsd.prog.mk and bsd.lib.mk outputs.

This commit is contained in:
Ruslan Ermilov 2003-08-31 15:20:17 +00:00
parent d73829d478
commit 41f8931571
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=119607
2 changed files with 19 additions and 2 deletions

View File

@ -21,7 +21,9 @@ SHLIB_LINK?= ${SHLIB_NAME:R}
SONAME?= ${SHLIB_NAME}
.endif
.if defined(CRUNCH_CFLAGS)
CFLAGS+= ${CRUNCH_CFLAGS}
.endif
.if defined(DEBUG_FLAGS)
CFLAGS+= ${DEBUG_FLAGS}

View File

@ -5,8 +5,17 @@
.SUFFIXES: .out .o .c .cc .cpp .cxx .C .m .y .l .ln .s .S .asm
CFLAGS+=${COPTS} ${DEBUG_FLAGS}
.if defined(COPTS)
CFLAGS+=${COPTS}
.endif
.if defined(DEBUG_FLAGS)
CFLAGS+=${DEBUG_FLAGS}
.endif
.if defined(CRUNCH_CFLAGS)
CFLAGS+=${CRUNCH_CFLAGS}
.endif
.if !defined(DEBUG_FLAGS)
STRIP?= -s
@ -79,7 +88,13 @@ all: objwarn ${PROG} ${SCRIPTS}
all: _manpages
.endif
CLEANFILES+= ${PROG} ${OBJS}
.if defined(PROG)
CLEANFILES+= ${PROG}
.endif
.if defined(OBJS)
CLEANFILES+= ${OBJS}
.endif
.if defined(PROG)
_EXTRADEPEND: