###################################################################
#
# makefile for smoothing project
#
###################################################################

CPP = g++

CPPFLAGS = -pg -O2 -funroll-loops -ansi -Wall -pedantic-errors -Woverloaded-virtual -W 
#CPPFLAGS = -g -pg -ansi -Wall -pedantic-errors -Woverloaded-virtual -W 
# -Wenum-clash -Wtemplate-debugging
#CPPFLAGS = -ansi -Wall -pedantic -O2 -funroll-loops -g

LDFLAGS = -lglut -lGLU -lXmu -lGL -L/usr/X11R6/lib/

###################################################################


CPPFILES =	Mesh.cpp 

CPPOFILES =	Mesh.o 

HFILES =	Mesh.h 

###################################################################

.cpp.o: ; $(CPP) $(CPPFLAGS) -c $<

###################################################################

all:		$(CPPOFILES) 

###################################################################

clean:
	/bin/rm -f $(CPPOFILES) *~ *.iv gmon.out

###################################################################
