shithub: scc

ref: c901f8723b03863440d63986bf14f442dd1244c7
dir: /config.mk/

View raw version
# scc version
VERSION     = 0.1

# Customize below to fit your system
ARCH = z80
DRIVER = posix

# paths
PREFIX    = $(HOME)
MANPREFIX = ${PREFIX}/share/man

# if your system is not POSIX maybe you want to use cc or gcc
CC = c99
LD = $(CC)
AR = ar

# for Plan9 add -D_SUSV2_SOURCE -DNBOOL
CFLAGS   = -DNDEBUG -Iarch/$(ARCH) -DPREFIX=\""$(PREFIX)"\"
LDFLAGS  = -s