FREEGLUT = /afs/nd.edu/user37/ccl/software/external/freeglut CXX = g++ CFLAGS = -Wall -g LIBS = -lglut -lGL -lGLU INCPATH = -I$(FREEGLUT)/include LIBPATH = -L$(FREEGLUT)/lib all: initials clean: rm -f *.o initials initials.o: initials.cc $(CXX) $(CFLAGS) $(INCPATH) -c -o $@ $< initials: initials.o $(CXX) $(CFLAGS) $(INCPATH) -o $@ $< $(LIBPATH) $(LIBS)