arena/Arena/linux/Makefile.include
2024-11-30 01:56:11 +09:00

42 lines
878 B
Makefile

# Make WWW under unix for linux
#
# For W3 distribution, machine type for subdirectories
WWW_MACH = linux
# The ASIS repository's name for the machine we are on
ASIS_MACH = linux/x86_64
# Options for cc
#CC = cc
#CFLAGS = -DDEBUG
#LFLAGS = -Bstatic
# Options for gcc
CC = gcc
CFLAGS = -O -g
#CFLAGS = -Wall -g -DNO_GETWD -DHAS_GETCWD
# CFLAGS = -Wall -g
LFLAGS = -static
# In both cases: Ask for static linking so that binary will be transportable
# Directory for installed binary:
# BINDIR = /usr/local/bin
BINDIR = /usr/arena/bin
#_________________ OK if normal W3 distribution
# Where is the WWW source root?
WWW = ../..
# Where should temporary (object) files go?
# WTMP = /usr/tmp
WTMP = $(WWW)
# Where is the W3 object library?
#LIBDIR = $(WWW)/Library/Implementation/$(WWW_MACH)
USELIBDIR = ../../Library/$(WWW_MACH)
XLIBDIR = /usr/X11R6/lib
OTHERLIB = -lm