When generating a default OBJS, ignore .h files.
This commit is contained in:
parent
6001d6e5c9
commit
01094e51c2
@ -69,7 +69,7 @@ _LIBS=lib${LIB}.a
|
||||
|
||||
all: ${_LIBS} ${MANALL}# llib-l${LIB}.ln
|
||||
|
||||
OBJS+= ${SRCS:R:S/$/.o/g}
|
||||
OBJS+= ${SRCS:N*.h:R:S/$/.o/g}
|
||||
|
||||
lib${LIB}.a:: ${OBJS}
|
||||
@echo building standard ${LIB} library
|
||||
|
@ -60,7 +60,7 @@ CLEANFILES+=strings
|
||||
.if defined(PROG)
|
||||
.if defined(SRCS)
|
||||
|
||||
OBJS+= ${SRCS:R:S/$/.o/g}
|
||||
OBJS+= ${SRCS:N*.h:R:S/$/.o/g}
|
||||
|
||||
.if defined(LDONLY)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user