Fossil SCM
Fix to the unix makefile so that it looks in the OBJDIR directory for header files synthesized by makeheaders.
Commit
8718b3c6ab2f3f85dba401776ad1c9e26c6bd71c
Parent
5ac8c0d7132acd5…
2 files changed
+1
-1
+1
-1
+1
-1
| --- src/main.mk | ||
| +++ src/main.mk | ||
| @@ -8,11 +8,11 @@ | ||
| 8 | 8 | # to regenerate this file. |
| 9 | 9 | # |
| 10 | 10 | # This file is included by primary Makefile. |
| 11 | 11 | # |
| 12 | 12 | |
| 13 | -XTCC = $(TCC) $(CFLAGS) -I. -I$(SRCDIR) | |
| 13 | +XTCC = $(TCC) $(CFLAGS) -I. -I$(SRCDIR) -I$(OBJDIR) | |
| 14 | 14 | |
| 15 | 15 | |
| 16 | 16 | SRC = \ |
| 17 | 17 | $(SRCDIR)/add.c \ |
| 18 | 18 | $(SRCDIR)/allrepo.c \ |
| 19 | 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) |
| 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 |
+1
-1
| --- src/makemake.tcl | ||
| +++ src/makemake.tcl | ||
| @@ -152,11 +152,11 @@ | ||
| 152 | 152 | # to regenerate this file. |
| 153 | 153 | # |
| 154 | 154 | # This file is included by primary Makefile. |
| 155 | 155 | # |
| 156 | 156 | |
| 157 | -XTCC = $(TCC) $(CFLAGS) -I. -I$(SRCDIR) | |
| 157 | +XTCC = $(TCC) $(CFLAGS) -I. -I$(SRCDIR) -I$(OBJDIR) | |
| 158 | 158 | |
| 159 | 159 | } |
| 160 | 160 | writeln -nonewline "SRC =" |
| 161 | 161 | foreach s [lsort $src] { |
| 162 | 162 | writeln -nonewline " \\\n \$(SRCDIR)/$s.c" |
| 163 | 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) |
| 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 |