mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-23 21:43:51 +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
|
# pull in dependency info for *existing* .o files
|
||||||
-include $(OBJ:.o=.d)
|
-include $(OBJ:.o=.d)
|
||||||
|
|
||||||
${PROJBINDIR}/%.o: %.c
|
${PROJBINDIR}/%.o: %.c $(PROJDEPS)
|
||||||
@echo; echo "Compiling.... $*.c"; echo
|
@echo; echo "Compiling.... $*.c"; echo
|
||||||
@test -d $(PROJBINDIR) || mkdir -p $(PROJBINDIR)
|
@test -d $(PROJBINDIR) || mkdir -p $(PROJBINDIR)
|
||||||
$(CC) $(CFLAGS) $(INCLUDES) -c $*.c -o bin/$*.o
|
$(CC) $(CFLAGS) $(INCLUDES) -c $*.c -o bin/$*.o
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user