# Makefile # for Gloobs example programs # # 2000 Jan 10 # # To use, simply pass the name of a program, without the .cc extension, as a # parameter to make. For example, to compile Hello.cc do: # # % make Hello # # and an executable file called Hello will be created. LIBS = -lgloobs -lg2 -lgd -lpng -lX11 LIBDIR = -L /home/cslin/si23/g2/lib -L /usr/X11/lib INCDIR = -I /home/cslin/si23/g2/include %:%.cc g++ $(LIBDIR) $(INCDIR) $^ $(LIBS) -o $@