# g22.3033.02 (Spring 1998): sample Makefile from Angel. # # This sample Makefile allows you to make a OpenGL application # whose source is exactly one .c file. # # # To use this Makefile, you must type: # # make PROG=xxxx # ---- # where # xxxx.c is the name of the file you wish to compile, or # ---- CC = cc LDLIBS = -lglut -lGL -lGLU -lXmu -lX11 -lm INCLUDE = executable: $(CC) -g $(INCLUDE) $(PROG).c \ $(LDFLAGS) $(LDLIBS) -o $(PROG)