FLAGS = -I/usr/include/GL
LIBS = -L/usr/lib -lglut -lGLU -lGL -lX11 -lm 

all: bezier curves teapot teapot2

bezier: bezier.c
	gcc bezier.c -o bezier $(FLAGS) $(LIBS)

curves: curves.c
	gcc curves.c -o curves $(FLAGS) $(LIBS)

teapot: teapot.c
	gcc teapot.c -o teapot $(FLAGS) $(LIBS)

teapot2: teapot2.c
	gcc teapot2.c -o teapot2 $(FLAGS) $(LIBS)


