Fossil SCM

Remove redundant include argument from the compilation steps of several source files.

mistachkin 2012-06-29 19:35 trunk
Commit 8a18e7fb7f0a7e2590f06bf16374ad0d4429a35e
+4 -4
--- src/main.mk
+++ src/main.mk
@@ -1065,17 +1065,17 @@
10651065
10661066
$(OBJDIR)/shell.o: $(SRCDIR)/shell.c $(SRCDIR)/sqlite3.h
10671067
$(XTCC) -Dmain=sqlite3_shell -DSQLITE_OMIT_LOAD_EXTENSION=1 -c $(SRCDIR)/shell.c -o $(OBJDIR)/shell.o
10681068
10691069
$(OBJDIR)/th.o: $(SRCDIR)/th.c
1070
- $(XTCC) -I$(SRCDIR) -c $(SRCDIR)/th.c -o $(OBJDIR)/th.o
1070
+ $(XTCC) -c $(SRCDIR)/th.c -o $(OBJDIR)/th.o
10711071
10721072
$(OBJDIR)/th_lang.o: $(SRCDIR)/th_lang.c
1073
- $(XTCC) -I$(SRCDIR) -c $(SRCDIR)/th_lang.c -o $(OBJDIR)/th_lang.o
1073
+ $(XTCC) -c $(SRCDIR)/th_lang.c -o $(OBJDIR)/th_lang.o
10741074
10751075
$(OBJDIR)/th_tcl.o: $(SRCDIR)/th_tcl.c
1076
- $(XTCC) -I$(SRCDIR) -c $(SRCDIR)/th_tcl.c -o $(OBJDIR)/th_tcl.o
1076
+ $(XTCC) -c $(SRCDIR)/th_tcl.c -o $(OBJDIR)/th_tcl.o
10771077
10781078
10791079
$(OBJDIR)/cson_amalgamation.o: $(SRCDIR)/cson_amalgamation.c
1080
- $(XTCC) -I$(SRCDIR) -c $(SRCDIR)/cson_amalgamation.c -o $(OBJDIR)/cson_amalgamation.o -DCSON_FOSSIL_MODE
1080
+ $(XTCC) -c $(SRCDIR)/cson_amalgamation.c -o $(OBJDIR)/cson_amalgamation.o -DCSON_FOSSIL_MODE
10811081
10821082
--- src/main.mk
+++ src/main.mk
@@ -1065,17 +1065,17 @@
1065
1066 $(OBJDIR)/shell.o: $(SRCDIR)/shell.c $(SRCDIR)/sqlite3.h
1067 $(XTCC) -Dmain=sqlite3_shell -DSQLITE_OMIT_LOAD_EXTENSION=1 -c $(SRCDIR)/shell.c -o $(OBJDIR)/shell.o
1068
1069 $(OBJDIR)/th.o: $(SRCDIR)/th.c
1070 $(XTCC) -I$(SRCDIR) -c $(SRCDIR)/th.c -o $(OBJDIR)/th.o
1071
1072 $(OBJDIR)/th_lang.o: $(SRCDIR)/th_lang.c
1073 $(XTCC) -I$(SRCDIR) -c $(SRCDIR)/th_lang.c -o $(OBJDIR)/th_lang.o
1074
1075 $(OBJDIR)/th_tcl.o: $(SRCDIR)/th_tcl.c
1076 $(XTCC) -I$(SRCDIR) -c $(SRCDIR)/th_tcl.c -o $(OBJDIR)/th_tcl.o
1077
1078
1079 $(OBJDIR)/cson_amalgamation.o: $(SRCDIR)/cson_amalgamation.c
1080 $(XTCC) -I$(SRCDIR) -c $(SRCDIR)/cson_amalgamation.c -o $(OBJDIR)/cson_amalgamation.o -DCSON_FOSSIL_MODE
1081
1082
--- src/main.mk
+++ src/main.mk
@@ -1065,17 +1065,17 @@
1065
1066 $(OBJDIR)/shell.o: $(SRCDIR)/shell.c $(SRCDIR)/sqlite3.h
1067 $(XTCC) -Dmain=sqlite3_shell -DSQLITE_OMIT_LOAD_EXTENSION=1 -c $(SRCDIR)/shell.c -o $(OBJDIR)/shell.o
1068
1069 $(OBJDIR)/th.o: $(SRCDIR)/th.c
1070 $(XTCC) -c $(SRCDIR)/th.c -o $(OBJDIR)/th.o
1071
1072 $(OBJDIR)/th_lang.o: $(SRCDIR)/th_lang.c
1073 $(XTCC) -c $(SRCDIR)/th_lang.c -o $(OBJDIR)/th_lang.o
1074
1075 $(OBJDIR)/th_tcl.o: $(SRCDIR)/th_tcl.c
1076 $(XTCC) -c $(SRCDIR)/th_tcl.c -o $(OBJDIR)/th_tcl.o
1077
1078
1079 $(OBJDIR)/cson_amalgamation.o: $(SRCDIR)/cson_amalgamation.c
1080 $(XTCC) -c $(SRCDIR)/cson_amalgamation.c -o $(OBJDIR)/cson_amalgamation.o -DCSON_FOSSIL_MODE
1081
1082
--- src/makemake.tcl
+++ src/makemake.tcl
@@ -289,22 +289,22 @@
289289
set opt {-Dmain=sqlite3_shell}
290290
append opt " -DSQLITE_OMIT_LOAD_EXTENSION=1"
291291
writeln "\t\$(XTCC) $opt -c \$(SRCDIR)/shell.c -o \$(OBJDIR)/shell.o\n"
292292
293293
writeln "\$(OBJDIR)/th.o:\t\$(SRCDIR)/th.c"
294
-writeln "\t\$(XTCC) -I\$(SRCDIR) -c \$(SRCDIR)/th.c -o \$(OBJDIR)/th.o\n"
294
+writeln "\t\$(XTCC) -c \$(SRCDIR)/th.c -o \$(OBJDIR)/th.o\n"
295295
296296
writeln "\$(OBJDIR)/th_lang.o:\t\$(SRCDIR)/th_lang.c"
297
-writeln "\t\$(XTCC) -I\$(SRCDIR) -c \$(SRCDIR)/th_lang.c -o \$(OBJDIR)/th_lang.o\n"
297
+writeln "\t\$(XTCC) -c \$(SRCDIR)/th_lang.c -o \$(OBJDIR)/th_lang.o\n"
298298
299299
writeln "\$(OBJDIR)/th_tcl.o:\t\$(SRCDIR)/th_tcl.c"
300
-writeln "\t\$(XTCC) -I\$(SRCDIR) -c \$(SRCDIR)/th_tcl.c -o \$(OBJDIR)/th_tcl.o\n"
300
+writeln "\t\$(XTCC) -c \$(SRCDIR)/th_tcl.c -o \$(OBJDIR)/th_tcl.o\n"
301301
302302
set opt {}
303303
writeln {
304304
$(OBJDIR)/cson_amalgamation.o: $(SRCDIR)/cson_amalgamation.c
305
- $(XTCC) -I$(SRCDIR) -c $(SRCDIR)/cson_amalgamation.c -o $(OBJDIR)/cson_amalgamation.o -DCSON_FOSSIL_MODE
305
+ $(XTCC) -c $(SRCDIR)/cson_amalgamation.c -o $(OBJDIR)/cson_amalgamation.o -DCSON_FOSSIL_MODE
306306
}
307307
308308
close $output_file
309309
#
310310
# End of the main.mk output
@@ -619,18 +619,18 @@
619619
set opt {-Dmain=sqlite3_shell}
620620
append opt " -DSQLITE_OMIT_LOAD_EXTENSION=1"
621621
writeln "\t\$(XTCC) $opt -c \$(SRCDIR)/shell.c -o \$(OBJDIR)/shell.o\n"
622622
623623
writeln "\$(OBJDIR)/th.o:\t\$(SRCDIR)/th.c"
624
-writeln "\t\$(XTCC) -I\$(SRCDIR) -c \$(SRCDIR)/th.c -o \$(OBJDIR)/th.o\n"
624
+writeln "\t\$(XTCC) -c \$(SRCDIR)/th.c -o \$(OBJDIR)/th.o\n"
625625
626626
writeln "\$(OBJDIR)/th_lang.o:\t\$(SRCDIR)/th_lang.c"
627
-writeln "\t\$(XTCC) -I\$(SRCDIR) -c \$(SRCDIR)/th_lang.c -o \$(OBJDIR)/th_lang.o\n"
627
+writeln "\t\$(XTCC) -c \$(SRCDIR)/th_lang.c -o \$(OBJDIR)/th_lang.o\n"
628628
629629
writeln {ifdef FOSSIL_ENABLE_TCL
630630
$(OBJDIR)/th_tcl.o: $(SRCDIR)/th_tcl.c
631
- $(XTCC) -I$(SRCDIR) -c $(SRCDIR)/th_tcl.c -o $(OBJDIR)/th_tcl.o
631
+ $(XTCC) -c $(SRCDIR)/th_tcl.c -o $(OBJDIR)/th_tcl.o
632632
endif
633633
}
634634
635635
close $output_file
636636
#
637637
--- src/makemake.tcl
+++ src/makemake.tcl
@@ -289,22 +289,22 @@
289 set opt {-Dmain=sqlite3_shell}
290 append opt " -DSQLITE_OMIT_LOAD_EXTENSION=1"
291 writeln "\t\$(XTCC) $opt -c \$(SRCDIR)/shell.c -o \$(OBJDIR)/shell.o\n"
292
293 writeln "\$(OBJDIR)/th.o:\t\$(SRCDIR)/th.c"
294 writeln "\t\$(XTCC) -I\$(SRCDIR) -c \$(SRCDIR)/th.c -o \$(OBJDIR)/th.o\n"
295
296 writeln "\$(OBJDIR)/th_lang.o:\t\$(SRCDIR)/th_lang.c"
297 writeln "\t\$(XTCC) -I\$(SRCDIR) -c \$(SRCDIR)/th_lang.c -o \$(OBJDIR)/th_lang.o\n"
298
299 writeln "\$(OBJDIR)/th_tcl.o:\t\$(SRCDIR)/th_tcl.c"
300 writeln "\t\$(XTCC) -I\$(SRCDIR) -c \$(SRCDIR)/th_tcl.c -o \$(OBJDIR)/th_tcl.o\n"
301
302 set opt {}
303 writeln {
304 $(OBJDIR)/cson_amalgamation.o: $(SRCDIR)/cson_amalgamation.c
305 $(XTCC) -I$(SRCDIR) -c $(SRCDIR)/cson_amalgamation.c -o $(OBJDIR)/cson_amalgamation.o -DCSON_FOSSIL_MODE
306 }
307
308 close $output_file
309 #
310 # End of the main.mk output
@@ -619,18 +619,18 @@
619 set opt {-Dmain=sqlite3_shell}
620 append opt " -DSQLITE_OMIT_LOAD_EXTENSION=1"
621 writeln "\t\$(XTCC) $opt -c \$(SRCDIR)/shell.c -o \$(OBJDIR)/shell.o\n"
622
623 writeln "\$(OBJDIR)/th.o:\t\$(SRCDIR)/th.c"
624 writeln "\t\$(XTCC) -I\$(SRCDIR) -c \$(SRCDIR)/th.c -o \$(OBJDIR)/th.o\n"
625
626 writeln "\$(OBJDIR)/th_lang.o:\t\$(SRCDIR)/th_lang.c"
627 writeln "\t\$(XTCC) -I\$(SRCDIR) -c \$(SRCDIR)/th_lang.c -o \$(OBJDIR)/th_lang.o\n"
628
629 writeln {ifdef FOSSIL_ENABLE_TCL
630 $(OBJDIR)/th_tcl.o: $(SRCDIR)/th_tcl.c
631 $(XTCC) -I$(SRCDIR) -c $(SRCDIR)/th_tcl.c -o $(OBJDIR)/th_tcl.o
632 endif
633 }
634
635 close $output_file
636 #
637
--- src/makemake.tcl
+++ src/makemake.tcl
@@ -289,22 +289,22 @@
289 set opt {-Dmain=sqlite3_shell}
290 append opt " -DSQLITE_OMIT_LOAD_EXTENSION=1"
291 writeln "\t\$(XTCC) $opt -c \$(SRCDIR)/shell.c -o \$(OBJDIR)/shell.o\n"
292
293 writeln "\$(OBJDIR)/th.o:\t\$(SRCDIR)/th.c"
294 writeln "\t\$(XTCC) -c \$(SRCDIR)/th.c -o \$(OBJDIR)/th.o\n"
295
296 writeln "\$(OBJDIR)/th_lang.o:\t\$(SRCDIR)/th_lang.c"
297 writeln "\t\$(XTCC) -c \$(SRCDIR)/th_lang.c -o \$(OBJDIR)/th_lang.o\n"
298
299 writeln "\$(OBJDIR)/th_tcl.o:\t\$(SRCDIR)/th_tcl.c"
300 writeln "\t\$(XTCC) -c \$(SRCDIR)/th_tcl.c -o \$(OBJDIR)/th_tcl.o\n"
301
302 set opt {}
303 writeln {
304 $(OBJDIR)/cson_amalgamation.o: $(SRCDIR)/cson_amalgamation.c
305 $(XTCC) -c $(SRCDIR)/cson_amalgamation.c -o $(OBJDIR)/cson_amalgamation.o -DCSON_FOSSIL_MODE
306 }
307
308 close $output_file
309 #
310 # End of the main.mk output
@@ -619,18 +619,18 @@
619 set opt {-Dmain=sqlite3_shell}
620 append opt " -DSQLITE_OMIT_LOAD_EXTENSION=1"
621 writeln "\t\$(XTCC) $opt -c \$(SRCDIR)/shell.c -o \$(OBJDIR)/shell.o\n"
622
623 writeln "\$(OBJDIR)/th.o:\t\$(SRCDIR)/th.c"
624 writeln "\t\$(XTCC) -c \$(SRCDIR)/th.c -o \$(OBJDIR)/th.o\n"
625
626 writeln "\$(OBJDIR)/th_lang.o:\t\$(SRCDIR)/th_lang.c"
627 writeln "\t\$(XTCC) -c \$(SRCDIR)/th_lang.c -o \$(OBJDIR)/th_lang.o\n"
628
629 writeln {ifdef FOSSIL_ENABLE_TCL
630 $(OBJDIR)/th_tcl.o: $(SRCDIR)/th_tcl.c
631 $(XTCC) -c $(SRCDIR)/th_tcl.c -o $(OBJDIR)/th_tcl.o
632 endif
633 }
634
635 close $output_file
636 #
637
--- win/Makefile.mingw
+++ win/Makefile.mingw
@@ -1232,15 +1232,15 @@
12321232
12331233
$(OBJDIR)/shell.o: $(SRCDIR)/shell.c $(SRCDIR)/sqlite3.h
12341234
$(XTCC) -Dmain=sqlite3_shell -DSQLITE_OMIT_LOAD_EXTENSION=1 -c $(SRCDIR)/shell.c -o $(OBJDIR)/shell.o
12351235
12361236
$(OBJDIR)/th.o: $(SRCDIR)/th.c
1237
- $(XTCC) -I$(SRCDIR) -c $(SRCDIR)/th.c -o $(OBJDIR)/th.o
1237
+ $(XTCC) -c $(SRCDIR)/th.c -o $(OBJDIR)/th.o
12381238
12391239
$(OBJDIR)/th_lang.o: $(SRCDIR)/th_lang.c
1240
- $(XTCC) -I$(SRCDIR) -c $(SRCDIR)/th_lang.c -o $(OBJDIR)/th_lang.o
1240
+ $(XTCC) -c $(SRCDIR)/th_lang.c -o $(OBJDIR)/th_lang.o
12411241
12421242
ifdef FOSSIL_ENABLE_TCL
12431243
$(OBJDIR)/th_tcl.o: $(SRCDIR)/th_tcl.c
1244
- $(XTCC) -I$(SRCDIR) -c $(SRCDIR)/th_tcl.c -o $(OBJDIR)/th_tcl.o
1244
+ $(XTCC) -c $(SRCDIR)/th_tcl.c -o $(OBJDIR)/th_tcl.o
12451245
endif
12461246
12471247
--- win/Makefile.mingw
+++ win/Makefile.mingw
@@ -1232,15 +1232,15 @@
1232
1233 $(OBJDIR)/shell.o: $(SRCDIR)/shell.c $(SRCDIR)/sqlite3.h
1234 $(XTCC) -Dmain=sqlite3_shell -DSQLITE_OMIT_LOAD_EXTENSION=1 -c $(SRCDIR)/shell.c -o $(OBJDIR)/shell.o
1235
1236 $(OBJDIR)/th.o: $(SRCDIR)/th.c
1237 $(XTCC) -I$(SRCDIR) -c $(SRCDIR)/th.c -o $(OBJDIR)/th.o
1238
1239 $(OBJDIR)/th_lang.o: $(SRCDIR)/th_lang.c
1240 $(XTCC) -I$(SRCDIR) -c $(SRCDIR)/th_lang.c -o $(OBJDIR)/th_lang.o
1241
1242 ifdef FOSSIL_ENABLE_TCL
1243 $(OBJDIR)/th_tcl.o: $(SRCDIR)/th_tcl.c
1244 $(XTCC) -I$(SRCDIR) -c $(SRCDIR)/th_tcl.c -o $(OBJDIR)/th_tcl.o
1245 endif
1246
1247
--- win/Makefile.mingw
+++ win/Makefile.mingw
@@ -1232,15 +1232,15 @@
1232
1233 $(OBJDIR)/shell.o: $(SRCDIR)/shell.c $(SRCDIR)/sqlite3.h
1234 $(XTCC) -Dmain=sqlite3_shell -DSQLITE_OMIT_LOAD_EXTENSION=1 -c $(SRCDIR)/shell.c -o $(OBJDIR)/shell.o
1235
1236 $(OBJDIR)/th.o: $(SRCDIR)/th.c
1237 $(XTCC) -c $(SRCDIR)/th.c -o $(OBJDIR)/th.o
1238
1239 $(OBJDIR)/th_lang.o: $(SRCDIR)/th_lang.c
1240 $(XTCC) -c $(SRCDIR)/th_lang.c -o $(OBJDIR)/th_lang.o
1241
1242 ifdef FOSSIL_ENABLE_TCL
1243 $(OBJDIR)/th_tcl.o: $(SRCDIR)/th_tcl.c
1244 $(XTCC) -c $(SRCDIR)/th_tcl.c -o $(OBJDIR)/th_tcl.o
1245 endif
1246
1247
--- win/Makefile.mingw.mistachkin
+++ win/Makefile.mingw.mistachkin
@@ -1232,15 +1232,15 @@
12321232
12331233
$(OBJDIR)/shell.o: $(SRCDIR)/shell.c $(SRCDIR)/sqlite3.h
12341234
$(XTCC) -Dmain=sqlite3_shell -DSQLITE_OMIT_LOAD_EXTENSION=1 -c $(SRCDIR)/shell.c -o $(OBJDIR)/shell.o
12351235
12361236
$(OBJDIR)/th.o: $(SRCDIR)/th.c
1237
- $(XTCC) -I$(SRCDIR) -c $(SRCDIR)/th.c -o $(OBJDIR)/th.o
1237
+ $(XTCC) -c $(SRCDIR)/th.c -o $(OBJDIR)/th.o
12381238
12391239
$(OBJDIR)/th_lang.o: $(SRCDIR)/th_lang.c
1240
- $(XTCC) -I$(SRCDIR) -c $(SRCDIR)/th_lang.c -o $(OBJDIR)/th_lang.o
1240
+ $(XTCC) -c $(SRCDIR)/th_lang.c -o $(OBJDIR)/th_lang.o
12411241
12421242
ifdef FOSSIL_ENABLE_TCL
12431243
$(OBJDIR)/th_tcl.o: $(SRCDIR)/th_tcl.c
1244
- $(XTCC) -I$(SRCDIR) -c $(SRCDIR)/th_tcl.c -o $(OBJDIR)/th_tcl.o
1244
+ $(XTCC) -c $(SRCDIR)/th_tcl.c -o $(OBJDIR)/th_tcl.o
12451245
endif
12461246
12471247
--- win/Makefile.mingw.mistachkin
+++ win/Makefile.mingw.mistachkin
@@ -1232,15 +1232,15 @@
1232
1233 $(OBJDIR)/shell.o: $(SRCDIR)/shell.c $(SRCDIR)/sqlite3.h
1234 $(XTCC) -Dmain=sqlite3_shell -DSQLITE_OMIT_LOAD_EXTENSION=1 -c $(SRCDIR)/shell.c -o $(OBJDIR)/shell.o
1235
1236 $(OBJDIR)/th.o: $(SRCDIR)/th.c
1237 $(XTCC) -I$(SRCDIR) -c $(SRCDIR)/th.c -o $(OBJDIR)/th.o
1238
1239 $(OBJDIR)/th_lang.o: $(SRCDIR)/th_lang.c
1240 $(XTCC) -I$(SRCDIR) -c $(SRCDIR)/th_lang.c -o $(OBJDIR)/th_lang.o
1241
1242 ifdef FOSSIL_ENABLE_TCL
1243 $(OBJDIR)/th_tcl.o: $(SRCDIR)/th_tcl.c
1244 $(XTCC) -I$(SRCDIR) -c $(SRCDIR)/th_tcl.c -o $(OBJDIR)/th_tcl.o
1245 endif
1246
1247
--- win/Makefile.mingw.mistachkin
+++ win/Makefile.mingw.mistachkin
@@ -1232,15 +1232,15 @@
1232
1233 $(OBJDIR)/shell.o: $(SRCDIR)/shell.c $(SRCDIR)/sqlite3.h
1234 $(XTCC) -Dmain=sqlite3_shell -DSQLITE_OMIT_LOAD_EXTENSION=1 -c $(SRCDIR)/shell.c -o $(OBJDIR)/shell.o
1235
1236 $(OBJDIR)/th.o: $(SRCDIR)/th.c
1237 $(XTCC) -c $(SRCDIR)/th.c -o $(OBJDIR)/th.o
1238
1239 $(OBJDIR)/th_lang.o: $(SRCDIR)/th_lang.c
1240 $(XTCC) -c $(SRCDIR)/th_lang.c -o $(OBJDIR)/th_lang.o
1241
1242 ifdef FOSSIL_ENABLE_TCL
1243 $(OBJDIR)/th_tcl.o: $(SRCDIR)/th_tcl.c
1244 $(XTCC) -c $(SRCDIR)/th_tcl.c -o $(OBJDIR)/th_tcl.o
1245 endif
1246
1247

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button