# set this variable to the directory in which you saved the common files
commondir = ../common/

all : lab4-1

lab4-1 : lab4.c $(commondir)GL_utilities.c $(commondir)VectorUtils3.c $(commondir)LittleOBJLoader.c $(commondir)LoadTGA.c $(commondir)Mac/MicroGlut.m
	gcc -Wall -o lab4-1 -I$(commondir) -I../common/Mac -I noise -DGL_GLEXT_PROTOTYPES lab4.c $(commondir)GL_utilities.c $(commondir)LittleOBJLoader.c $(commondir)VectorUtils3.c $(commondir)LoadTGA.c $(commondir)Mac/MicroGlut.m -framework OpenGL -framework Cocoa -lm -Wno-deprecated-declarations

clean :
	rm lab4-1

