testingAnimation/Makefile

18 lines
383 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
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-08 19:40:26 -04:00
&& ${POSTPROC} -v -p 0 ${ROM_OUTPUT}