#
#  Sample Make file for  C++ CAMgraphics classes 
#  
CC       = g++
INCLUDES =  
DEFINES  =  -D  __STATIC__
CCFLAGS  =  
LIBRARY  = libcamgraph.a

.SUFFIXES: .o .cpp .a                # define suffix rules so it knows what to
                                     # do with .cpp files ...

$(LIBRARY): \
        camgraphexit.o\
        camgraph.o\
        ucplot.o\
        uc2dgrph.o\
        uc3dgrph.o\
        ucgraph.o\
        uccontr.o\
        ucsurfac.o\
        CAMgraphicsProcess.o\
        CAMpostScriptDriver.o\
        ucdrv_ps.o
	ar ru $(LIBRARY) *.o 
	rm *.o

.cpp.o :
	$(CC) $(CCFLAGS) $(DEFINES) $(INCLUDES) -c $<

