When generating a default OBJS, ignore .h files.

This commit is contained in:
mycroft 1993-07-30 03:40:07 +00:00
parent 6001d6e5c9
commit 01094e51c2
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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)