# # David Barberi # Prototype virtual walk-through of Eggers Hall # # CFLAGS = -g CC = cc RM = rm -f CP = cp -r INSTALL = install -s -m 700 DEFINES = LIBS = -lgl_s -lm INSTALL_NAME = /change/me/to/your/path/egg OBJECTS = stream.o egg.o SOURCES = stream.c egg.c all: egg egg: ${OBJECTS} ${CC} ${CFLAGS} ${DEFINES} -o ${INSTALL_NAME} ${OBJECTS} ${LIBS} .c.o: ; ${CC} ${CFLAGS} ${DEFINES} -c $< # Dependencies egg.o: egg.c stream.o: stream.c install: egg ${INSTALL} egg ${INSTALL_NAME}