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
 OBJCOPY		?= $(CROSS_COMPILE)objcopy
73
 OBJCOPY		?= $(CROSS_COMPILE)objcopy
74
 PARSEROM	?= $(PERL) ./util/parserom.pl
74
 PARSEROM	?= $(PERL) ./util/parserom.pl
75
 MAKEROM		?= $(PERL) ./util/makerom.pl
75
 MAKEROM		?= $(PERL) ./util/makerom.pl
76
+MKCONFIG	?= $(PERL) ./util/mkconfig.pl
76
 NRV2B		?= ./util/nrv2b
77
 NRV2B		?= ./util/nrv2b
77
 
78
 
78
 # Location to place generated files
79
 # Location to place generated files
84
 
85
 
85
 # Common flags
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
 CFLAGS		+= -Os -ffreestanding
89
 CFLAGS		+= -Os -ffreestanding
89
 CFLAGS		+= -Wall -W -Wno-format
90
 CFLAGS		+= -Wall -W -Wno-format
90
 CFLAGS		+= $(EXTRA_CFLAGS)
91
 CFLAGS		+= $(EXTRA_CFLAGS)

Loading…
Cancel
Save