# generic makefile for cps 06/100E/100 TLIB = /afs/acpub.duke.edu/users8/ola/courses/lib/libtapestry.a INCLUDES = /afs/acpub.duke.edu/users8/ola/courses/lib #set up C++ suffixes and relationship between .cc and .o files .SUFFIXES: .cc .cc.o: $(CC) $(CFLAGS) -c $< .cc : $(CC) $(CFLAGS) $< -o $@ -lm $(TLIB) -lg++ #set up compiler and options CC = g++ -I$(INCLUDES) CFLAGS = -g # # ******************* program specific options below ************** #