summaryrefslogtreecommitdiff
path: root/makefiles
diff options
context:
space:
mode:
authorAndreas Baumann <abaumann@yahoo.com>2009-02-22 13:31:52 +0100
committerAndreas Baumann <abaumann@yahoo.com>2009-02-22 13:31:52 +0100
commit2b55ffee666c795e5b639cacf147ab4798b17044 (patch)
tree0e4f8d4a38d131237f1fd98d13a3790823d92e44 /makefiles
parent497ba9f5afd7b0896c3ae021722d41263dcf6b3b (diff)
downloadwolfbones-2b55ffee666c795e5b639cacf147ab4798b17044.tar.gz
wolfbones-2b55ffee666c795e5b639cacf147ab4798b17044.tar.bz2
final fixes for Sun Pro compiler
Diffstat (limited to 'makefiles')
-rw-r--r--makefiles/compiler.mk3
-rw-r--r--makefiles/depend.mk4
2 files changed, 4 insertions, 3 deletions
diff --git a/makefiles/compiler.mk b/makefiles/compiler.mk
index 829e878..668a579 100644
--- a/makefiles/compiler.mk
+++ b/makefiles/compiler.mk
@@ -175,6 +175,7 @@ endif
# start of spro section
# -xc99=all: full C99 compliance for the code (syntax and library functions)
+# -Xc: full ISO compliance, no K&R stuf
# -mt: enable mutlithreading (-D_REENTRANT for header files, -lthread for ld)
# -errwarn=%all: convert all warnings to errors
# -v: do more restrictive syntax checking
@@ -182,7 +183,7 @@ endif
ifeq "$(COMPILER)" "spro"
COMPILE_FLAGS = \
- -xc99=all -errwarn=%all -mt -v
+ -xc99=all -Xc -errwarn=%all -mt -v
endif
# end of spro section
diff --git a/makefiles/depend.mk b/makefiles/depend.mk
index 9822e20..14e816b 100644
--- a/makefiles/depend.mk
+++ b/makefiles/depend.mk
@@ -51,11 +51,11 @@ ifeq "$(COMPILER)" "spro"
%.d : %.c
@echo Generating dependencies for $<
- $(CC) -xM1 $(INCLUDE_DIRS) $< > $@
+ @$(CC) -xM1 $(INCLUDE_DIRS) $< > $@
%.d : %.cpp
@echo Generating dependencies for $<
- $(CCPP) -xM1 $(INCLUDE_DIRS) $< > $@
+ @$(CCPP) -xM1 $(INCLUDE_DIRS) $< > $@
endif
-include $(OBJS:.o=.d)