uvm32/apps/gfx/Makefile
2025-12-12 15:45:17 +00:00

15 lines
352 B
Makefile

TOPDIR=../..
PROJECT:=$(shell basename ${PWD})
OPT=-Os
SRCS=${PROJECT}.c ${TOPDIR}/apps/common/crt0.S
HEAP_SIZE=$(shell echo "320 * 200 * 4" | bc)
HOST_EXTRA=-e ${HEAP_SIZE} -i 9999999
all: all_common
test: all
${TOPDIR}/hosts/host-sdl/host-sdl ${HOST_EXTRA} ${PWD}/${PROJECT}.bin
clean: clean_common
include ${TOPDIR}/apps/common/makefile.common