blob: 9279f21262161e737b03566d076f9b8d73993af3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
# Customize to fit your system
# paths
PREFIX = /usr/lib/9base
MANPREFIX = ${PREFIX}/share/man
VERSION = 6
OBJTYPE = 386
#OBJTYPE = arm
#OBJTYPE = x86_64
# Linux/BSD
#CFLAGS += -Wall -Wno-missing-braces -Wno-parentheses -Wno-switch -c -I. -DPREFIX="\"${PREFIX}\""
CFLAGS += -c -I. -DPREFIX="\"${PREFIX}\""
LDFLAGS += -static
# Solaris
#CFLAGS = -fast -xtarget=ultra -D__sun__ -c -I. -DPREFIX="\"${PREFIX}\""
#LDFLAGS = -dn
# compiler
AR = ar rc
CC = cc
YACC = ../yacc/9yacc
|