FIXES 1295
Make cc only take the first depency, so it wont compile header files that
the target is depends on.
Now that there isn't any VPATH, depend on the file with path, not by name.
SFLAGS=-P -I${TOP_INCDIR}
RX = ../rx
-CCRULE = ${CC} ${CFLAGS} -c $?
+CCRULE = ${CC} ${CFLAGS} -c $<
RXKAD = ../rxkad
RXSTAT = ../rxstat
FSINT = ../fsint
$(AR) crv $@ ${srcdir}/../sys/afsl.exp;; \
esac
-${RXOBJS}: rx.h rx_user.h rx_globals.h rx_clock.h rx_queue.h rx_event.h
-
rx_event.o: ${RX}/rx_event.c
${CCRULE}
rx_multi.o: ${RX}/rx_multi.c
${CCRULE}
+${RXOBJS}: ${RX}/rx.h ${RX}/rx_user.h ${RX}/rx_globals.h ${RX}/rx_clock.h ${RX}/rx_queue.h ${RX}/rx_event.h
+
rxkad_client.o: ${RXKAD}/rxkad_client.c
${CCRULE}