# makefile for GraphicsWindowTest # (C) Bill Lenhart 2002 # which compiler CC = g++ # flags (always use debugging!) CCFLAGS = -g # location of cs371 include files CS371INCLDIR = /usr/cs-local/include/cs371include # where to find header files INCLDIRS = -I$(CLASSES) -I$(CS371INCLDIR) -I/usr/X11R6/include # location of cs371 libraries CS371LIBDIR = /usr/cs-local/lib/cs371lib # where to find libraries LIBDIRS = -L$(CS371LIBDIR) -L/usr/X11R6/lib # which libraries to include LIBS = -llinAlg -lX11 -lm -lc # where other classes live CLASSES = .. linAlgTest.o : linAlgTest.cc $(CC) $(CCFLAGS) -c $< $(INCLDIRS) linAlgTest : linAlgTest.o $(CC) $(CCFLAGS) -o $@ $< $(LIBDIRS) $(LIBS)