testingAnimation/Makefile

27 lines
570 B
Makefile
Raw Normal View History

2020-05-08 19:40:26 -04:00
NAME=animation
ASSEMBLER=rgbasm
LINKER=rgblink
POSTPROC=rgbfix
SRC=./src
BUILD=./build
ENTRY=${SRC}/main.asm
ROM_OUTPUT=${BUILD}/${NAME}.gb
OBJECT_OUTPUT=${BUILD}/${NAME}.o
2020-05-24 01:54:13 -04:00
SYMFILE_OUTPUT=${BUILD}/${NAME}.sym
2020-05-08 19:40:26 -04:00
2020-05-25 01:10:59 -04:00
LICENSEE="tA"
OLDLIC="0x33"
MBC="0x00"
VERSION="0"
PAD="0xFF"
RAM="0x00"
PP_FLAGS=-c -f lhg -j -t ${NAME} -k ${LICENSEE} -l ${OLDLIC} -m ${MBC} -n ${VERSION} -p ${PAD} -r ${RAM}
2020-05-08 19:40:26 -04:00
all : ${ENTRY}
${ASSEMBLER} -o ${OBJECT_OUTPUT} ${ENTRY} \
2020-05-24 01:54:13 -04:00
&& ${LINKER} -o ${ROM_OUTPUT} -n ${SYMFILE_OUTPUT} ${OBJECT_OUTPUT} \
2020-05-25 01:10:59 -04:00
&& ${POSTPROC} -v ${PP_FLAGS} ${ROM_OUTPUT}