mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
Follow-up r291338 to handle .d, .y and .l files better as well.
X-MFC-With: r291338 MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Division
This commit is contained in:
parent
c196e3988a
commit
8ffe95d60f
1 changed files with 3 additions and 3 deletions
|
|
@ -102,9 +102,9 @@ _PROGS_ALL_SRCS+= ${s}
|
|||
.endfor
|
||||
.endfor
|
||||
.if !empty(_PROGS_COMMON_SRCS)
|
||||
_PROGS_COMMON_OBJS= ${_PROGS_COMMON_SRCS:M*.h}
|
||||
.if !empty(_PROGS_COMMON_SRCS:N*.h)
|
||||
_PROGS_COMMON_OBJS+= ${_PROGS_COMMON_SRCS:N*.h:R:S/$/.o/g}
|
||||
_PROGS_COMMON_OBJS= ${_PROGS_COMMON_SRCS:M*.[dhly]}
|
||||
.if !empty(_PROGS_COMMON_SRCS:N*.[dhly])
|
||||
_PROGS_COMMON_OBJS+= ${_PROGS_COMMON_SRCS:N*.[dhly]:R:S/$/.o/g}
|
||||
.endif
|
||||
${PROGS}: ${_PROGS_COMMON_OBJS}
|
||||
.endif
|
||||
|
|
|
|||
Loading…
Reference in a new issue