Browse Source

Add MKCONFIG utility, and add "-I ." to CFLAGS so that we can work

with generated headers.
tags/v0.9.3
Michael Brown 19 years ago
parent
commit
b5ee3763c6
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      src/Makefile

+ 2
- 1
src/Makefile View File

@@ -73,6 +73,7 @@ RANLIB		?= $(CROSS_COMPILE)ranlib
73 73
 OBJCOPY		?= $(CROSS_COMPILE)objcopy
74 74
 PARSEROM	?= $(PERL) ./util/parserom.pl
75 75
 MAKEROM		?= $(PERL) ./util/makerom.pl
76
+MKCONFIG	?= $(PERL) ./util/mkconfig.pl
76 77
 NRV2B		?= ./util/nrv2b
77 78
 
78 79
 # Location to place generated files
@@ -84,7 +85,7 @@ BLIB	= $(BIN)/blib.a
84 85
 
85 86
 # Common flags
86 87
 #
87
-CFLAGS		+= -I include -I arch/$(ARCH)/include -DARCH=$(ARCH)
88
+CFLAGS		+= -I include -I arch/$(ARCH)/include -I . -DARCH=$(ARCH)
88 89
 CFLAGS		+= -Os -ffreestanding
89 90
 CFLAGS		+= -Wall -W -Wno-format
90 91
 CFLAGS		+= $(EXTRA_CFLAGS)

Loading…
Cancel
Save