# This sample Makefile allows you to make an OpenGL application
#   whose source is exactly one .c file under CygWin.
#
#
# To use this Makefile, you type:
#
#        make xxxx
#                  
# where
#       xxxx.c is the name of the file you wish to compile 
#       
# A binary named xxxx will be produced
# Libraries are assumed to be in the default search paths
# as are any required include files

# depending on which verison of glut you are using
# you should use either glut32 or glut in the LDLIBS line

CC = gcc 

LDLIBS = -lglut32 -lOpenGL32 -lGLU32 -lm 

.c:
	$(CC)  $@.c $(LDLIBS) -o $@

