#!pmake # This style produces a SIGBUS error!!! STYLE = n32 # This style works fine # STYLE = 64 STUFF = ${STYLE:S/n//} C++OPT = -${STYLE} -g LDFLAGS = -L \ -L/usr/lib${STUFF} \ -L/usr/lib${STUFF}/Performer/Static SYSLIB = -lXmu -lX11 -lm -lC IGLLIB = -lpf_igl -limage -lgl OGLLIB = -lpf_ogl -limage -lGLU -lGL -lXext LIB = $(OGLLIB) $(SYSLIB) a.exe: main.o myForce.o vrPoolObject.o CC $(C++OPT) -o $@ $> $(LDFLAGS) $(LIB) .SUFFIXES: .o .cxx .cxx.o: CC $(C++OPT) -c $< clean: rm -f *.o core clobber: clean rm -f *.exe