Skip to content
Snippets Groups Projects
Commit 3065c5c1 authored by Ludwig Knüpfer's avatar Ludwig Knüpfer
Browse files

add PROJDEPS to PROJBINDIR target

This enables issues like https://github.com/RIOT-OS/projects/issues/26
to be fixed.
parent 16dbafe3
No related branches found
No related tags found
No related merge requests found
...@@ -73,7 +73,7 @@ ${PROJBINDIR}/$(PROJECT).a: $(OBJ) ...@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment