1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00

Merge pull request #184 from LudwigOrtmann/support_project_dependencies

Add PROJDEPS to PROJBINDIR target
This commit is contained in:
LudwigOrtmann 2013-09-02 07:07:12 -07:00
commit eda02903ea

View File

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