# To use this Makefile, you must type: # # make PROG=xxxx # ---- # where # xxxx.c is the name of the file you wish to compile, or # ---- PROG = hw1 CC = gcc LDLIBS = -lglut -lGL -lGLU -lXmu -lX11 -lm INCLUDE = -I/usr/include executable: $(CC) -g $(INCLUDE) $(PROG).c \ $(LDFLAGS) $(LDLIBS) -o $(PROG)