Skip to content

Commit

Permalink
Merge pull request #184 from LudwigOrtmann/support_project_dependencies
Browse files Browse the repository at this point in the history
Add PROJDEPS to PROJBINDIR target
  • Loading branch information
LudwigKnuepfer committed Sep 2, 2013
2 parents 16dbafe + 3065c5c commit eda0290
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile.include
Expand Up @@ -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
Expand Down

0 comments on commit eda0290

Please sign in to comment.