# # Makefile for project 1 # # Use: - the g++ compiler # # Compile your project with: # "make poly" # # "make clean" will delete all object modules # and the executable (useful when switching systems). # CPPFLAGS=-c # XLIB=-lX11 # STL=-lstdc++ # CPP=g++ # window.o: defs.h window.h window.C $(CPP) $(CPPFLAGS) window.C $(STL) # # poly: point.h window.o main.C $(CPP) main.C window.o $(STL) $(XLIB) -o poly # .PHONY: clean clean: rm *.o *.ii poly