From fbc85dfadf0060ed2b5eb900cd2529dccde49e1c Mon Sep 17 00:00:00 2001 From: "Juan J. Martinez" Date: Thu, 7 Jan 2021 22:50:54 +0000 Subject: It is actually 222 bytes Also formatting. --- game/src/Makefile | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/game/src/Makefile b/game/src/Makefile index 13cff21..1045b41 100644 --- a/game/src/Makefile +++ b/game/src/Makefile @@ -1,22 +1,22 @@ -TARGET=game +TARGET = game -CODE=0x4000 -# leaves 199 bytes for AKM player buffer -DATA=0xc0de +CODE = 0x4000 +# leaves 222 bytes for AKM player buffer +DATA = 0xc0de # HEX, will fill with 0 -ROM_MAX=8000 +ROM_MAX = 8000 -OUTPUT=../build +OUTPUT = ../build OBJS = $(patsubst %.c,$(OUTPUT)/%.rel,$(wildcard *.c)) $(OUTPUT)/akm.rel UBOX_LIBS = $(wildcard ../../lib/*.lib) LIBS = -lubox -lspman -lmplayer -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 +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 -- cgit v1.2.3