first commit
This commit is contained in:
19
CS4451/proj3/Makefile
Normal file
19
CS4451/proj3/Makefile
Normal file
@@ -0,0 +1,19 @@
|
||||
|
||||
CC = gcc
|
||||
|
||||
# libraries required to compile opengl/glut programs may be system-dependent
|
||||
# this is a setup for a typical install of redhat 9
|
||||
|
||||
LIBOPT = -L/usr/X11R6/lib -lglut -lGLU -lGL -lXmu -lXi -lX11 -lm
|
||||
OPTS = -Wall -O3
|
||||
|
||||
all : prj
|
||||
|
||||
prj : main.o
|
||||
$(CC) -o proj3 $(OPTS) main.o $(LIBOPT)
|
||||
|
||||
main.o : main.cpp Makefile
|
||||
$(CC) $(OPTS) -I/usr/X11R6/include -c main.cpp
|
||||
|
||||
clean:
|
||||
rm proj3 *.o
|
||||
Reference in New Issue
Block a user