summaryrefslogtreecommitdiff
path: root/makefiles/gmake/depend.mk
diff options
context:
space:
mode:
authorAndreas Baumann <abaumann@yahoo.com>2009-03-31 13:01:30 +0200
committerAndreas Baumann <abaumann@yahoo.com>2009-03-31 13:01:30 +0200
commit038f9a5b1197b4f92c85d0c7d2cfd672589c2231 (patch)
treef25da7450c8903bc2afa9b5c6f5c607e42f20792 /makefiles/gmake/depend.mk
parentadb36b9285ca8cf0e3d3a690f6682c20187379a1 (diff)
downloadwolfbones-038f9a5b1197b4f92c85d0c7d2cfd672589c2231.tar.gz
wolfbones-038f9a5b1197b4f92c85d0c7d2cfd672589c2231.tar.bz2
fixed pthread flags for pcc
Diffstat (limited to 'makefiles/gmake/depend.mk')
-rw-r--r--makefiles/gmake/depend.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/makefiles/gmake/depend.mk b/makefiles/gmake/depend.mk
index 8b22c2e..eb832e7 100644
--- a/makefiles/gmake/depend.mk
+++ b/makefiles/gmake/depend.mk
@@ -64,7 +64,7 @@ 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 - $< > $@
+ @$(CC) -DMAKE_DEPENDENCIES $(CFLAGS) -M $< > $@
endif