BASE = /home/blufox/base CC = gcc CFLAGS = -Wall EFILE = test_dining INCLS = LIBS = OBJS = main.o phil.o pick_up.o put_down.o semaphore.o \ signal.o wait.o $(EFILE): $(OBJS) @echo "linking ..." @$(CC) $(CFLAGS) -o $(EFILE) $(OBJS) $(LIBS) $(OBJS): dining.h $(CC) $(CFLAGS) $(INCLS) -c $*.c relink: @echo "relinking ..." @$(CC) $(CFLAGS) -o $(EFILE) $(OBJS) $(LIBS)