aboutsummaryrefslogtreecommitdiff
path: root/share/autoinclude
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--share/autoinclude/general-rules.bld4
1 files changed, 2 insertions, 2 deletions
diff --git a/share/autoinclude/general-rules.bld b/share/autoinclude/general-rules.bld
index 0e6c735..d568e11 100644
--- a/share/autoinclude/general-rules.bld
+++ b/share/autoinclude/general-rules.bld
@@ -86,7 +86,7 @@ rule "cpp"
86{ 86{
87 input "*.cpp"; 87 input "*.cpp";
88 output INPUT.cppToObj(); 88 output INPUT.cppToObj();
89 requires getMakeDeps("${CXX} ${CXXFLAGS} -M ${INPUT}"); 89 requires getMakeDeps("${CXX} ${CXXFLAGS} -M -MG ${INPUT}");
90 profile "build" 90 profile "build"
91 { 91 {
92 execute("${CXX} ${CXXFLAGS} -c -o ${OUTPUT} ${INPUT}", "g++"); 92 execute("${CXX} ${CXXFLAGS} -c -o ${OUTPUT} ${INPUT}", "g++");
@@ -98,7 +98,7 @@ rule "c"
98{ 98{
99 input "*.c"; 99 input "*.c";
100 output INPUT.cToObj(); 100 output INPUT.cToObj();
101 requires getMakeDeps("${CC} ${CFLAGS} -M ${INPUT}"); 101 requires getMakeDeps("${CC} ${CFLAGS} -M -MG ${INPUT}");
102 profile "build" 102 profile "build"
103 { 103 {
104 execute("${CC} ${CFLAGS} -c -o ${OUTPUT} ${INPUT}"); 104 execute("${CC} ${CFLAGS} -c -o ${OUTPUT} ${INPUT}");