diff options
Diffstat (limited to 'community/9base/files/config.mk')
-rw-r--r-- | community/9base/files/config.mk | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/community/9base/files/config.mk b/community/9base/files/config.mk new file mode 100644 index 00000000..5e7516cd --- /dev/null +++ b/community/9base/files/config.mk @@ -0,0 +1,25 @@ +# Customize to fit your system + +# paths +PREFIX = /usr +MANPREFIX = ${PREFIX}/share/man + +VERSION = 7 +OBJTYPE = x86_64 +#OBJTYPE = arm +#OBJTYPE = x86_64 +#OBJTYPE = sun4u + +# Linux/BSD +#CFLAGS += -Wall -Wno-missing-braces -Wno-parentheses -Wno-switch -c -I. -DPREFIX="\"${PREFIX}\"" +CFLAGS += -c -I. -DPLAN9PORT -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 |