TARGETS = mondrian CLASS = /usr/class/cs248 #CLASS = /usr/common INC = -I$(CLASS)/support/include LIB = -L$(CLASS)/support/lib -lglut -lGL -lGLU -lXmu -lXext -lX11 -lm all: $(TARGETS) mondrian: mondrian.c cc -g -o mondrian mondrian.c $(INC) $(LIB) clean: rm -f *~ *.o spotless: rm -f *~ *.o $(TARGETS)