Add pre-depend, add rpath for Solaris and POSIX.

This commit is contained in:
Jonathan Schleifer 2007-09-21 15:11:49 +02:00
parent cc4f5da466
commit c849d80e4a
2 changed files with 5 additions and 3 deletions

View file

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