DEBUG= -g
DEBUG=
LD= -Bstatic
LD=
CFLAGS= ${DEBUG} ${LD}

#
# ../src points to the place where the xgobi include files
# and libxgobi.a can be found
#
IDIR= -I/usr/local/pkg/X11/include -I../src
LDIR= -L/usr/local/pkg/X11/lib -L../src
LIBS= ${LDIR} -lxgobi -lXaw -lXt -lXmu -lXext -lX11 -lm

SRC = prog.o widgets.o

prog: ${SRC}
	cc -o prog ${SRC} ${CFLAGS} ${LIBS}

.c.o:
	cc -c $*.c ${CFLAGS} ${IDIR} ${LIBS}
