SHELL = /bin/sh

#MACROS
CPP = g++ -g -ansi -pedantic -Wall
PROG = convert_mesh

#SUFFIX RULES
.SUFFIXES: .o .cpp
.cpp.o:
	$(CPP) -c $<

all: $(PROG)

$(PROG): Main.o MeshConversion.o
	$(CPP)	-o	$(PROG)	Main.o MeshConversion.o
Main.o:	Main.cc 	MeshConversion.o
MeshConversion.o:	MeshConversion.cc

clean:
	@echo "-------------------------------------------------"
	@echo "REMOVING EXECUTABLES, *.o, a.out AND FILE BACKUPS"
	-rm -f  ${PROG} *.o *.*~ makefile~ *~
	@echo "-------------------------------------------------"

clean-temp:
	@echo "-------------------------------------------------"
	@echo "REMOVING EXECUTABLES, *.o, a.out AND FILE BACKUPS"
	-rm -f  *.o *.*~ makefile~ *~
	@echo "-------------------------------------------------"

SHELL = /bin/sh

#MACROS
CPP = g++ -g -ansi -pedantic -Wall
PROG = convert_mesh

#SUFFIX RULES
.SUFFIXES: .o .cc
.cc.o:
	$(CPP) -c $<

all: $(PROG)

$(PROG): Main.o MeshConversion.o
	$(CPP)	-o	$(PROG)	Main.o MeshConversion.o
Main.o:	Main.cc 	MeshConversion.o
MeshConversion.o:	MeshConversion.cc

clean:
	@echo "-------------------------------------------------"
	@echo "REMOVING EXECUTABLES, *.o, a.out AND FILE BACKUPS"
	-rm -f  ${PROG} *.o *.*~ makefile~ *~
	@echo "-------------------------------------------------"

clean-temp:
	@echo "-------------------------------------------------"
	@echo "REMOVING EXECUTABLES, *.o, a.out AND FILE BACKUPS"
	-rm -f  *.o *.*~ makefile~ *~
	@echo "-------------------------------------------------"

Make sure we compile everything in debug mode (the file suffixes were wrong).
Make sure we compile everything in debug mode (the file suffixes were wrong).


git-svn-id: 31d9d2f6432a47c86a3640814024c107794ea77c@19066 0785d39b-7218-0410-832d-ea1e28bc413d
