13.003 Computational Geometry and Visualization
Making the Example Programs
athena% add 13.003 athena% add glut athena% cd /mit/13.003 athena% cd graphics_examples/Example1 athena% more Makefile EXAMPLE1 = example1-square.o LIB = /mit/glut/lib/ LIBRARIES = $(LIB)/libglut.a -lGLU -lGL -lGLw -lXmu -lXext -lX11 -lm IMAGE = -limage example1: $(EXAMPLE1) cc -o $@ $(EXAMPLE1) $(LIBRARIES) athena% make cc -c example1-square.c cc -o example1 example1-square.o /mit/glut/lib/libglut.a -lGLU -lGL -lGLw -lXmu -lXext -lX11 -lm athena%