mirror of
https://frontier.innolan.net/github/AmigaExamples.git
synced 2026-09-12 22:23:46 +00:00
24 lines
926 B
Makefile
24 lines
926 B
Makefile
EXAMPLE_NAME=simple_text
|
|
|
|
USERSTACK_ADDRESS=7fffc # userstack used by bootblock
|
|
BASE_ADDRESS=4000 # if you change this you must also change link.script.x
|
|
# note: this must be high enough not to conflict with MFMbufE
|
|
|
|
BOOTBLOCK_ASM=alpine_bootblock.s
|
|
OBJS=out/init.o out/utils.o out/image.o out/blittext.o out/cpu.o out/blit.o
|
|
|
|
IMAGES=font.png
|
|
IMAGEDATA=$(addprefix out/, $(IMAGES:.png=.bin))
|
|
VASM_EXTRA_ARGS=
|
|
|
|
#SYMBOL_INFO=-M
|
|
LINK_COMMANDLINE=vlink -T link.script.x -brawbin1 $< $(OBJS) $(SYMBOL_INFO) -o out/main.bin
|
|
|
|
include ../shared/base.mk
|
|
|
|
|
|
out/%.bin: ../assets/%.png
|
|
$(IMAGECON) --input $< $(IMAGECON_ARGS) --output-bitplanes --output-grey-palette-asm --output-palette-asm --output-palette --output out/$* --colors=16 --use-palette palette.pal --full-color-palette-file --output-mask --transparent-color=0,0,0
|
|
|
|
out/main.o: $(IMAGEDATA) constants.i Makefile link.script.x palette.pal
|
|
out/init.o: constants.i Makefile |