add PROJDEPS to PROJBINDIR target

This enables issues like https://github.com/RIOT-OS/projects/issues/26
to be fixed.
dev/timer
Ludwig Ortmann 10 years ago
parent 16dbafe319
commit 3065c5c118

@ -73,7 +73,7 @@ ${PROJBINDIR}/$(PROJECT).a: $(OBJ)
# pull in dependency info for *existing* .o files
-include $(OBJ:.o=.d)
${PROJBINDIR}/%.o: %.c
${PROJBINDIR}/%.o: %.c $(PROJDEPS)
@echo; echo "Compiling.... $*.c"; echo
@test -d $(PROJBINDIR) || mkdir -p $(PROJBINDIR)
$(CC) $(CFLAGS) $(INCLUDES) -c $*.c -o bin/$*.o

Loading…
Cancel
Save