From b5ee3763c61a97b1f11b9ad6cd57c298c6f02782 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Sun, 17 Apr 2005 15:58:39 +0000 Subject: [PATCH] Add MKCONFIG utility, and add "-I ." to CFLAGS so that we can work with generated headers. --- src/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Makefile b/src/Makefile index 4ea843ed..ede590f5 100644 --- a/src/Makefile +++ b/src/Makefile @@ -73,6 +73,7 @@ RANLIB ?= $(CROSS_COMPILE)ranlib OBJCOPY ?= $(CROSS_COMPILE)objcopy PARSEROM ?= $(PERL) ./util/parserom.pl MAKEROM ?= $(PERL) ./util/makerom.pl +MKCONFIG ?= $(PERL) ./util/mkconfig.pl NRV2B ?= ./util/nrv2b # Location to place generated files @@ -84,7 +85,7 @@ BLIB = $(BIN)/blib.a # Common flags # -CFLAGS += -I include -I arch/$(ARCH)/include -DARCH=$(ARCH) +CFLAGS += -I include -I arch/$(ARCH)/include -I . -DARCH=$(ARCH) CFLAGS += -Os -ffreestanding CFLAGS += -Wall -W -Wno-format CFLAGS += $(EXTRA_CFLAGS)