diff options
author | Andreas Baumann <abaumann@yahoo.com> | 2009-03-14 19:09:23 +0100 |
---|---|---|
committer | Andreas Baumann <abaumann@yahoo.com> | 2009-03-14 19:09:23 +0100 |
commit | 4349e4e00487c70277824c87d0f0b92e822f052b (patch) | |
tree | e9cba8de204a456abdb9de161bb60c4415b08617 /makefiles | |
parent | 9a6677d5d2f1f76efd44326f9301b102b72b9636 (diff) | |
download | wolfbones-4349e4e00487c70277824c87d0f0b92e822f052b.tar.gz wolfbones-4349e4e00487c70277824c87d0f0b92e822f052b.tar.bz2 |
fixed dependencies of pcc, fixed setting of NLS platform flag
Diffstat (limited to 'makefiles')
-rw-r--r-- | makefiles/gmake/depend.mk | 9 | ||||
-rw-r--r-- | makefiles/gmake/platform.mk | 4 |
2 files changed, 12 insertions, 1 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) diff --git a/makefiles/gmake/platform.mk b/makefiles/gmake/platform.mk index ab1d46c..0dd3be3 100644 --- a/makefiles/gmake/platform.mk +++ b/makefiles/gmake/platform.mk @@ -108,7 +108,9 @@ LDFLAGS_LT = LIBS_LT = -lintl endif +PLATFORM_COMPILE_FLAGS += $(INCLUDE_FLAGS_LT) + endif PLATFORM_COMPILE_FLAGS += \ - -DENABLE_NLS=$(ENABLE_NLS) $(INCLUDE_FLAGS_LT) + -DENABLE_NLS=$(ENABLE_NLS) |