summaryrefslogtreecommitdiff
path: root/game/src/Makefile
diff options
context:
space:
mode:
authorJuan J. Martinez <jjm@usebox.net>2021-01-25 15:57:10 +0000
committerJuan J. Martinez <jjm@usebox.net>2021-01-25 15:57:10 +0000
commitf2e34f162af326aace8ca6d9d0ca26e1159b3706 (patch)
treeafcea0dee7cba7ec9d514fa56c6107b35af28dde /game/src/Makefile
parent6b884b930a9e1b7016f4e1a8967466cb9536ce45 (diff)
downloadubox-msx-lib-f2e34f162af326aace8ca6d9d0ca26e1159b3706.tar.gz
ubox-msx-lib-f2e34f162af326aace8ca6d9d0ca26e1159b3706.zip
Reviewed makefiles
Diffstat (limited to 'game/src/Makefile')
-rw-r--r--game/src/Makefile30
1 files changed, 15 insertions, 15 deletions
diff --git a/game/src/Makefile b/game/src/Makefile
index f05d1fa..6ac7a0a 100644
--- a/game/src/Makefile
+++ b/game/src/Makefile
@@ -1,22 +1,22 @@
-TARGET = game
+TARGET := game
-CODE = 0x4000
+CODE := 0x4000
# leaves 222 bytes for AKM player buffer
-DATA = 0xc0de
+DATA := 0xc0de
# HEX, will fill with 0
-ROM_MAX = 8000
-
-OUTPUT = ../build
-OBJS = $(patsubst %.c,$(OUTPUT)/%.rel,$(wildcard *.c)) $(OUTPUT)/akm.rel
-UBOX_LIBS = $(wildcard ../../lib/*.lib)
-LIBS = -lubox -lspman -lmplayer -lap
-
-CC = sdcc
-AS = sdasz80
-AR = sdcclib
-CFLAGS = -mz80 --Werror -I../../include -I../generated --fsigned-char --std-sdcc99 --opt-code-speed
-LDFLAGS = -L../../lib -L. --no-std-crt0 --fomit-frame-pointer
+ROM_MAX := 8000
+
+OUTPUT := ../build
+OBJS := $(patsubst %.c,$(OUTPUT)/%.rel,$(wildcard *.c)) $(OUTPUT)/akm.rel
+UBOX_LIBS := $(wildcard ../../lib/*.lib)
+LIBS := -lubox -lspman -lmplayer -lap
+
+CC := sdcc
+AS := sdasz80
+AR := sdcclib
+CFLAGS := -mz80 --Werror -I../../include -I../generated --fsigned-char --std-sdcc99 --opt-code-speed
+LDFLAGS := -L../../lib -L. --no-std-crt0 --fomit-frame-pointer
all: $(OUTPUT)/$(TARGET).rom
@../../tools/chksize 8000 4000 $(OUTPUT)/$(TARGET).map