aboutsummaryrefslogtreecommitdiff
path: root/src/spman/Makefile
diff options
context:
space:
mode:
authorJuan J. Martínez <jjm@usebox.net>2021-10-31 11:29:21 +0000
committerJuan J. Martínez <jjm@usebox.net>2021-10-31 11:29:21 +0000
commit7f2b1401be7f60e3e6ed3064bafd2a7859af9e0d (patch)
treedc6ac238776915844c70de4400472e079fadf771 /src/spman/Makefile
parent61e8f78ee6b2c9495ff9b20c57c44ed5e4b5f891 (diff)
parenta4d6d71612f38c8e164449971855fdde7976b3be (diff)
downloadubox-msx-lib-7f2b1401be7f60e3e6ed3064bafd2a7859af9e0d.tar.gz
ubox-msx-lib-7f2b1401be7f60e3e6ed3064bafd2a7859af9e0d.zip
Merge branch 'sdcc-versions' into 'master'
SDCC versions and support for current snapshots See merge request reidrac/ubox-msx-lib!17
Diffstat (limited to 'src/spman/Makefile')
-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))