aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJuan J. Martinez <jjm@usebox.net>2021-10-31 11:21:49 +0000
committerJuan J. Martinez <jjm@usebox.net>2021-10-31 11:27:40 +0000
commita4d6d71612f38c8e164449971855fdde7976b3be (patch)
treedc6ac238776915844c70de4400472e079fadf771 /src
parent61e8f78ee6b2c9495ff9b20c57c44ed5e4b5f891 (diff)
downloadubox-msx-lib-a4d6d71612f38c8e164449971855fdde7976b3be.tar.gz
ubox-msx-lib-a4d6d71612f38c8e164449971855fdde7976b3be.zip
SDCC versions and support for current snapshots
Diffstat (limited to 'src')
-rw-r--r--src/spman/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/spman/Makefile b/src/spman/Makefile
index 49b7de9..690e72f 100644
--- a/src/spman/Makefile
+++ b/src/spman/Makefile
@@ -1,9 +1,11 @@
LIB := ../../lib/spman.lib
all: $(LIB)
+include ../../config.env
+
CC := sdcc
AR := sdar
-CFLAGS := -mz80 --Werror -I../../include --fsigned-char --std-sdcc99 --opt-code-speed
+CFLAGS := -mz80 --Werror -I../../include --fsigned-char --std-sdcc99 --opt-code-speed $(EXTRA_CFLAGS)
SOURCES := $(wildcard *.c)
OBJS := $(patsubst %.c,%.rel,$(SOURCES))