summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorBobby Bingham <koorogi@koorogi.info>2015-09-12 11:00:15 -0500
committerBobby Bingham <koorogi@koorogi.info>2015-09-15 22:43:32 -0500
commit7e8d7666ca5ee0f147e29ae0911ee1c7e5d15801 (patch)
tree3a2d1e85486a9ce4e39cc427ac37a7c3b31cee08 /Makefile
parent8abdbbff5f43a6c81d9aae1e71bd340b14e847e1 (diff)
add config.mak to allow setting toolchain options
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 726ae6f..ef8ad3a 100644
--- a/Makefile
+++ b/Makefile
@@ -6,6 +6,8 @@ SATURN_OBJCOPY = $(SATURN_CROSS)objcopy
SATURN_CFLAGS = -Os -pipe -std=c99 -nostdlib
SATURN_LDFLAGS =
+-include config.mak
+
BOOTSRCS = $(sort $(wildcard boot/*.c))
BOOTELFS = $(patsubst %.c,%.elf,$(BOOTSRCS))
BOOTBINS = $(patsubst boot/%.c,share/%.boot,$(BOOTSRCS))