# Sun4/SPARC dependant part of the makefile.  Use GCC as CC is broken on
# alloca.  The SWI-Prolog saved-state mechanism cannot deal with dynamic
# linking, so make sure linking is done statically (-static for gcc).

OPTIMIZE=-O2
#OPTIMIZE=-g
CC=gcc -Wall
MACHINE=solaris

EXTRALIBS=	-lnsl -lsocket -lelf -ldl
LDFLAGS=	-L/lri2/jan/lib
#LDFLAGS=	-static

include ../src/Makefile

LIBS= -lXt -lX11 -ltermcap -lreadline -lm $(EXTRALIBS) /usr/lib/libc.a
