ref: 8e4b3c54d194d6daec84a696cfd9c3b8dd16d96f
dir: /config.mk/
# scc version VERSION = 0.1 ## Customize below to fit your system ARCHS = z80 i386-sysv amd64-sysv qbe # default architecure used in nested makefiles ARCH = qbe DRIVER = posix # Can be c89 or c99 STD = c99 # paths PREFIX = $(HOME) MANPREFIX = $(PREFIX)/share/man # if your system is not POSIX maybe you want to use cc or gcc # CC = c99 # AR = ar # for Plan9 add -D_SUSV2_SOURCE SCC_CFLAGS = -DARCH=\"$(ARCH)\" \ $(CSTDINC) \ -DPREFIX=\"$(PREFIX)\" \ -DNDEBUG \ $(CFLAGS) SCC_LDFLAGS = $(LDFLAGS) .c.o: $(CC) $(SCC_CFLAGS) -o $@ -c $< .c: $(CC) $(SCC_CFLAGS) $(SCC_LDFLAGS) -o $@ $<