summaryrefslogtreecommitdiff
path: root/makefiles/gmake/depend.mk
diff options
context:
space:
mode:
authorAndreas Baumann <abaumann@yahoo.com>2009-03-14 19:09:23 +0100
committerAndreas Baumann <abaumann@yahoo.com>2009-03-14 19:09:23 +0100
commit4349e4e00487c70277824c87d0f0b92e822f052b (patch)
treee9cba8de204a456abdb9de161bb60c4415b08617 /makefiles/gmake/depend.mk
parent9a6677d5d2f1f76efd44326f9301b102b72b9636 (diff)
downloadwolfbones-4349e4e00487c70277824c87d0f0b92e822f052b.tar.gz
wolfbones-4349e4e00487c70277824c87d0f0b92e822f052b.tar.bz2
fixed dependencies of pcc, fixed setting of NLS platform flag
Diffstat (limited to 'makefiles/gmake/depend.mk')
-rw-r--r--makefiles/gmake/depend.mk9
1 files changed, 9 insertions, 0 deletions
diff --git a/makefiles/gmake/depend.mk b/makefiles/gmake/depend.mk
index 1230f89..8b22c2e 100644
--- a/makefiles/gmake/depend.mk
+++ b/makefiles/gmake/depend.mk
@@ -59,6 +59,15 @@ ifeq "$(COMPILER)" "spro"
@$(CCPP) -DMAKE_DEPENDENCIES -xM1 $(CCPPFLAGS) $< > $@
endif
+ifeq "$(COMPILER)" "pcc"
+
+# FIXME: platform in path of compiler include files, mmh, how to fix?
+%.d : %.c
+ @echo Generating dependencies for $<
+ @makedepend -DMAKE_DEPENDENCIES $(PLATFORM_COMPILE_FLAGS) $(INCLUDE_DIRS) -I/usr/lib/pcc/i686-pc-linux-gnu/0.9.9/include -f - $< > $@
+
+endif
+
-include $(OBJS:.o=.d)
-include $(CPP_OBJS:.o=.d)
-include $(BIN_OBJS:.o=.d)