mirror of
https://github.com/opnsense/src.git
synced 2026-06-10 17:22:46 -04:00
Use .ALLSRC instead of RPCSRC
This is a trivial simplification in the Makefile, meant to serve as a good example for what to do with rules like this. MFC after: 1 week Sponsored by: Dell EMC Isilon
This commit is contained in:
parent
f826cc0107
commit
4841dac7c3
1 changed files with 2 additions and 2 deletions
|
|
@ -15,10 +15,10 @@ RPCSRC= ${DESTDIR}/usr/include/rpcsvc/sm_inter.x
|
|||
RPCGEN= RPCGEN_CPP=${CPP:Q} rpcgen -L -C
|
||||
|
||||
sm_inter_svc.c: ${RPCSRC}
|
||||
${RPCGEN} -m -o ${.TARGET} ${RPCSRC}
|
||||
${RPCGEN} -m -o ${.TARGET} ${.ALLSRC}
|
||||
|
||||
sm_inter.h: ${RPCSRC}
|
||||
${RPCGEN} -h -o ${.TARGET} ${RPCSRC}
|
||||
${RPCGEN} -h -o ${.TARGET} ${.ALLSRC}
|
||||
|
||||
test: test.c
|
||||
cc -o test test.c -lrpcsvc
|
||||
|
|
|
|||
Loading…
Reference in a new issue