#!/usr/sbin/pmake -v

include $(ROOT)/usr/include/make/commondefs

# alternate include directory
LCINCS = 
# debugging option
LCOPTS = -g
LCOPTS = 
#OPTIMIZER= -O2

LDFLAGS	= -lGLw -lGL -lGLU -lXm -lXt -lX11 -lXext -g

# override the prototypes macro in commondefs:  if you want
# prototyping turned on, comment out the next line.
PROTOTYPES=

CFILES =      \
cursor.c      \
draw.c        \
filter.c      \
main.c        \
menu.c        \
mesh.c        \
help.c        \
canvas.c      \
ui.c          \

TARGETS = mag2
default:	$(TARGETS)
include $(COMMONRULES)

mag2:	$(OBJECTS) 
	$(CCF) $(OBJECTS) $(LDFLAGS) -o $@ 
	echo 

$(OBJECTS):	globals.h
