# # Makefile for drivers. # # Which C compiler are we using this week? CC = gcc # Optimization Level CFLAGS = -g SOURCE = $(HOME)/260/code/c XOBJ = $(SOURCE)/x/X.o XINC = $(SOURCE)/x LIBS = -L/local/lib/X11 -lX11 -lsocket -lm all: circle trochoid circle: circle.o $(XOBJ) $(CC) $(CFLAGS) -o circle circle.o $(XOBJ) $(LIBS) trochoid: trochoid.o $(XOBJ) $(CC) $(CFLAGS) -o trochoid trochoid.o $(XOBJ) $(LIBS) clean: rm *.o