Fossil SCM

Fix to the unix makefile so that it looks in the OBJDIR directory for header files synthesized by makeheaders.

drh 2012-02-11 21:28 trunk
Commit 8718b3c6ab2f3f85dba401776ad1c9e26c6bd71c
2 files changed +1 -1 +1 -1
+1 -1
--- src/main.mk
+++ src/main.mk
@@ -8,11 +8,11 @@
88
# to regenerate this file.
99
#
1010
# This file is included by primary Makefile.
1111
#
1212
13
-XTCC = $(TCC) $(CFLAGS) -I. -I$(SRCDIR)
13
+XTCC = $(TCC) $(CFLAGS) -I. -I$(SRCDIR) -I$(OBJDIR)
1414
1515
1616
SRC = \
1717
$(SRCDIR)/add.c \
1818
$(SRCDIR)/allrepo.c \
1919
--- src/main.mk
+++ src/main.mk
@@ -8,11 +8,11 @@
8 # to regenerate this file.
9 #
10 # This file is included by primary Makefile.
11 #
12
13 XTCC = $(TCC) $(CFLAGS) -I. -I$(SRCDIR)
14
15
16 SRC = \
17 $(SRCDIR)/add.c \
18 $(SRCDIR)/allrepo.c \
19
--- src/main.mk
+++ src/main.mk
@@ -8,11 +8,11 @@
8 # to regenerate this file.
9 #
10 # This file is included by primary Makefile.
11 #
12
13 XTCC = $(TCC) $(CFLAGS) -I. -I$(SRCDIR) -I$(OBJDIR)
14
15
16 SRC = \
17 $(SRCDIR)/add.c \
18 $(SRCDIR)/allrepo.c \
19
--- src/makemake.tcl
+++ src/makemake.tcl
@@ -152,11 +152,11 @@
152152
# to regenerate this file.
153153
#
154154
# This file is included by primary Makefile.
155155
#
156156
157
-XTCC = $(TCC) $(CFLAGS) -I. -I$(SRCDIR)
157
+XTCC = $(TCC) $(CFLAGS) -I. -I$(SRCDIR) -I$(OBJDIR)
158158
159159
}
160160
writeln -nonewline "SRC ="
161161
foreach s [lsort $src] {
162162
writeln -nonewline " \\\n \$(SRCDIR)/$s.c"
163163
--- src/makemake.tcl
+++ src/makemake.tcl
@@ -152,11 +152,11 @@
152 # to regenerate this file.
153 #
154 # This file is included by primary Makefile.
155 #
156
157 XTCC = $(TCC) $(CFLAGS) -I. -I$(SRCDIR)
158
159 }
160 writeln -nonewline "SRC ="
161 foreach s [lsort $src] {
162 writeln -nonewline " \\\n \$(SRCDIR)/$s.c"
163
--- src/makemake.tcl
+++ src/makemake.tcl
@@ -152,11 +152,11 @@
152 # to regenerate this file.
153 #
154 # This file is included by primary Makefile.
155 #
156
157 XTCC = $(TCC) $(CFLAGS) -I. -I$(SRCDIR) -I$(OBJDIR)
158
159 }
160 writeln -nonewline "SRC ="
161 foreach s [lsort $src] {
162 writeln -nonewline " \\\n \$(SRCDIR)/$s.c"
163

Keyboard Shortcuts

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