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