[Aceunit-commit] SF.net SVN: aceunit:[581] trunk/src/native/test/common.mak
Status: Beta
Brought to you by:
christianhujer
|
From: <chr...@us...> - 2013-12-16 06:06:52
|
Revision: 581
http://sourceforge.net/p/aceunit/code/581
Author: christianhujer
Date: 2013-12-16 06:06:48 +0000 (Mon, 16 Dec 2013)
Log Message:
-----------
[Test] Use gcc on-the-fly generation of dependency files.
Modified Paths:
--------------
trunk/src/native/test/common.mak
Modified: trunk/src/native/test/common.mak
===================================================================
--- trunk/src/native/test/common.mak 2011-03-27 21:28:13 UTC (rev 580)
+++ trunk/src/native/test/common.mak 2013-12-16 06:06:48 UTC (rev 581)
@@ -19,7 +19,7 @@
LINT:=splint
-CPPFLAGS:=-DACEUNIT_CONFIG_FILE=\"AceUnitConfig.h\" -I . -I $(ACEUNIT_NATIVE_PATH)
+CPPFLAGS:=-MMD -DACEUNIT_CONFIG_FILE=\"AceUnitConfig.h\" -I . -I $(ACEUNIT_NATIVE_PATH)
C_and_LD_FLAGS:=-fprofile-arcs
CFLAGS?=-fdiagnostics-show-option -std=$(CVERSION) -pedantic $(C_and_LD_FLAGS) -ftest-coverage -W -Wall -g
CXXFLAGS?=-fdiagnostics-show-option -pedantic $(C_and_LD_FLAGS) -ftest-coverage -W -Wall -g
@@ -35,8 +35,8 @@
$(ACEUNIT_JAVA_PATH)/AceUnit.jar: $(ACEUNIT_JAVA_SRC)
ant -f $(ACEUNIT_JAVA_PATH)/build.xml
-%.d: %.c
- $(CPP) -M -MM -MG $(CPPFLAGS) $< | sed 's,\($*\)\.o[ :]*,\1.o $@ : ,g' > $@
+#%.d: %.c
+# $(CPP) -M -MM -MG $(CPPFLAGS) $< | sed 's,\($*\)\.o[ :]*,\1.o $@ : ,g' > $@
coverage: test
gcov *.c
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|