From 3065c5c118ba797a3e9776b7550a5f502e921dbc Mon Sep 17 00:00:00 2001 From: Ludwig Ortmann Date: Sat, 31 Aug 2013 12:40:16 +0200 Subject: [PATCH] add PROJDEPS to PROJBINDIR target This enables issues like https://github.com/RIOT-OS/projects/issues/26 to be fixed. --- Makefile.include | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.include b/Makefile.include index f4b613836..389e5b9b5 100644 --- a/Makefile.include +++ b/Makefile.include @@ -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