Add pre-depend, add rpath for Solaris and POSIX.
This commit is contained in:
parent
cc4f5da466
commit
c849d80e4a
2 changed files with 5 additions and 3 deletions
|
@ -82,7 +82,7 @@ subdirs:
|
|||
${DIR_LEAVE}; \
|
||||
done
|
||||
|
||||
depend:
|
||||
depend: pre-depend
|
||||
regen=0; \
|
||||
for i in ${SRCS}; do [ $$i -nt .deps ] && regen=1; done; \
|
||||
if [ $$regen = 1 ]; then \
|
||||
|
@ -95,6 +95,8 @@ depend:
|
|||
done; \
|
||||
fi
|
||||
|
||||
pre-depend:
|
||||
|
||||
${PROG} ${PROG_NOINST}: ${EXT_DEPS} ${OBJS}
|
||||
${LINK_STATUS}
|
||||
if ${LD} -o $@ ${OBJS} ${LDFLAGS} ${LIBS}; then \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue