Guest User

Untitled

a guest
Nov 29th, 2022
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Make 0.86 KB | Source Code | 0 0
  1. HEAP_SIZE      = 8388208
  2. STACK_SIZE     = 61800
  3.  
  4. PRODUCT = HelloWorld.pdx
  5.  
  6. # Locate the SDK
  7. SDK = ${PLAYDATE_SDK_PATH}
  8. ifeq ($(SDK),)
  9.     SDK = $(shell egrep '^\s*SDKRoot' ~/.Playdate/config | head -n 1 | cut -c9-)
  10. endif
  11.  
  12. ifeq ($(SDK),)
  13. $(error SDK path not found; set ENV value PLAYDATE_SDK_PATH)
  14. endif
  15.  
  16. ######
  17. # IMPORTANT: You must add your source folders to VPATH for make to find them
  18. # ex: VPATH += src1:src2
  19. ######
  20.  
  21. VPATH += .nim
  22.  
  23. # List C source files here
  24. SRC = $(wildcard .nim/*.nim.c)
  25.  
  26. # List all user directories here
  27. UINCDIR = src/playdate/include
  28.  
  29. # List user asm files
  30. UASRC =
  31.  
  32. # List all user C define here, like -D_DEBUG=1
  33. UDEFS =
  34.  
  35. # Define ASM defines here
  36. UADEFS =
  37.  
  38. # List the user directory to look for the libraries here
  39. ULIBDIR =
  40.  
  41. # List all user libraries here
  42. ULIBS =
  43.  
  44. include $(SDK)/C_API/buildsupport/common.mk
  45.  
Advertisement
Add Comment
Please, Sign In to add comment