#  CC       C compiler
#  CFLAGS   flags for building C files
#  CFDYN    additional flags for dynamic functions
#  RLINK    flags for linking run-time system
#  RLIBS    libraries to link with run-time system
#  TLIBS    libraries to link for POSIX threads
#  XLIBS    libraries to link for graphics
#  XPMDEFS  definitions for building XPM library

LIBS = -lz
CC = cc
# give both the new (/opt/X11) and old (/usr/X11R6) locations for X11
# Useful development flags: -Wall -Wno-missing-braces

CFLAGS = -O2 -fno-strict-aliasing -Wno-parentheses-equality -I../libtp -I../gdbm -I../xpm @GL_CFLAGS@ -I/opt/X11/include -I/usr/X11R6/include -I/usr/local/include
CFDYN = -Xlinker -dylib -Xlinker -undefined -Xlinker dynamic_lookup -fpic
RLINK = -L../../bin
RLIBS = @LIBS@ -lm -lgdbm -ltp -lstdc++
TLIBS =
XLIBS = @GL_LDFLAGS@ -L/opt/X11/lib -L/usr/X11R6/lib -L/usr/local/lib -lXpm -lX11
XPMDEFS = -DZPIPE -I/usr/X11R6/include
XPM=xpm
GDBM=gdbm
LIBTP=libtp
