Monorepo for Aesthetic.Computer aesthetic.computer
at main 40 lines 722 B view raw
1HEAP_SIZE = 8388208 2STACK_SIZE = 61800 3 4PRODUCT = KidLisp.pdx 5 6# Locate the SDK 7SDK = ${PLAYDATE_SDK_PATH} 8ifeq ($(SDK),) 9 SDK = $(shell egrep '^\s*SDKRoot' ~/.Playdate/config | head -n 1 | cut -c9-) 10endif 11 12ifeq ($(SDK),) 13$(error SDK path not found; set ENV value PLAYDATE_SDK_PATH) 14endif 15 16# Source directories 17VPATH += src 18 19# List C source files here 20SRC = src/main.c src/kidlisp.c 21 22# List all user directories here 23UINCDIR = src 24 25# List user asm files 26UASRC = 27 28# List all user C define here, like -D_DEBUG=1 29UDEFS = 30 31# Define ASM defines here 32UADEFS = 33 34# List the user directory to look for the libraries here 35ULIBDIR = 36 37# List all user libraries here 38ULIBS = 39 40include $(SDK)/C_API/buildsupport/common.mk