-
Notifications
You must be signed in to change notification settings - Fork 0
/
cdtc_project.conf
16 lines (16 loc) · 980 Bytes
/
cdtc_project.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# This file in Makefile syntax is intended to project-related variables
# like project name, compilation flags and the like.
# If you use version control (you should anyway),
# include this file in your versioned project history.
PROJNAME=chip8
# Suggested parameters to put in this file if needed:
# CODELOC is base address on the CPC of the generated binary
CODELOC=0x170
DATALOC=0x8000
# If your program is big you may want to lower CODELOC but be careful to ensure that pointers passed to most firmware routines are at 0x4000 or above.
# Override keyword below allows things like MAKE CFLAGS="-DNDEBUG=1"
# Ref https://stackoverflow.com/questions/2129391/append-to-gnu-make-variables-via-command-line
# override CFLAGS := -I$(abspath $(CDTC_ROOT)/cpclib/cfwi/include/) $(CFLAGS)
# override LDLIBS := -l$(abspath $(CDTC_ENV_FOR_CFWI) ) $(CFLAGS)
#override CFLAGS :=--max-allocs-per-node 350000000 --opt-code-speed
override CFLAGS :=--max-allocs-per-node 5000 --opt-code-speed