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:
commit
eda02903ea
@ -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…
Reference in New Issue
Block a user