mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Make sure to set OBJS consistently in the cases where SRCS is and isn't
already defined. Setting it with "+=" makes it possible for other make scripts (e.g. bsd.dtrace.mk) to include additional object files in the linker arguments. Approved by: emaste (co-mentor)
This commit is contained in:
parent
65c2474e6d
commit
7f7fc25b5a
1 changed files with 1 additions and 1 deletions
|
|
@ -73,7 +73,7 @@ SRCS= ${PROG}.c
|
|||
# - the name of the object gets put into the executable symbol table instead of
|
||||
# the name of a variable temporary object.
|
||||
# - it's useful to keep objects around for crunching.
|
||||
OBJS= ${PROG}.o
|
||||
OBJS+= ${PROG}.o
|
||||
|
||||
.if target(beforelinking)
|
||||
beforelinking: ${OBJS}
|
||||
|
|
|
|||
Loading…
Reference in a new issue