#CS 360 Lab 1 Makefile #James Calloway 8/1/99 CC = gcc INCLUDES = -I/blugreen/homes/plank/cs360/include CFLAGS = -g $(INCLUDES) LIBDIR = /blugreen/homes/plank/cs360/objs LIBS = $(LIBDIR)/libfdr.a EXECUTABLES: famtree all: $(EXECUTABLES) .SUFFIXES: .c .o .c.o: $(CC) $(CFLAGS) -c $*.c famtree: famtree.o $(CC) $(CFLAGS) -o famtree famtree.o $(LIBS) #make clean will rid your directory of the executable, #object files, and any core dumps you've caused clean: rm core $(EXECUTABLES) *.o