home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.hitl.washington.edu
/
ftp.hitl.washington.edu.tar
/
ftp.hitl.washington.edu
/
pub
/
people
/
habib
/
kodak
/
makefile.old
< prev
next >
Wrap
Makefile
|
2000-04-18
|
2KB
|
44 lines
LIB11 = -R:/usr/openwin/lib -L/usr/openwin/lib /home/habib/glut-3.7/lib/glut.n32/libglut.a
#LIB1 = /home/habib/glut-3.7/lib/glut.n32/libglut.a
#LIB4 = -L/home/grof/OpenGL/VRMLParser/JPEG/jpeg-6b/ -ljpeg
#INCLUDE = -I../../jpeg-6b/ -I$(GR) -I/usr/openwin/include -I$(GR)/lib/glut/
FLAG = -O -DSYSV -DSVR4 -Wa,-cg92
FLAG2 = -DNO_FAST_ATOMS -DSVR4 -DSYSV -D_SVID_GETTOD
GR = /home/habib/glut-3.7
INCLUDE = -I../../jpeg-6b/ -I ../includes -I/usr/openwin/include -I/home/habib/libstdc++-2.8.0/libio/ -I$(GR)/lib/glut/ -I/usr/include/CC/
LIB2 = -lGLU -lGL -lXmu -z
LIB3 = -lXm -lXt -lXext -lX11 -lm
LIB4 = -L. -ljpeg
LIBa = ../lib/libglut.a ../lib/libjpeg.a
LIBTMP = -lnsl
JPEGOBJ = Draw_Vrml_new.o Vrml2_Viewer.o frame_rate.o trackball.o Drive_S4_10.o distortionjohn.o read_jpg.o
all : Vrml2_Viewer
.SUFFIXES: .c
.c.o :
cc -n32 $(FLAG) $(INCLUDE) -c $(FLAG2) $<
.SUFFIXES: .cc
.cc.o :
CC -n32 $(FLAG) $(INCLUDE) -c $(FLAG2) $<
#Vrml2_Viewer: Vrml2_Viewer.o Draw_Vrml_new.o read_jpg.o trackball.o rdppm.o rdgif.o rdtarga.o rdrle.o rdbmp.o rdswitch.o cdjpeg.o
# CC -o Vrml2_Viewer Vrml2_Viewer.o Draw_Vrml_new.o read_jpg.o trackball.o rdppm.o rdgif.o rdtarga.o rdrle.o rdbmp.o rdswitch.o cdjpeg.o libjpeg.a $(FLAG) $(LIB1) $(LIB2) $(LIB3)
Vrml2_Viewer: Vrml2_Viewer.o Draw_Vrml_new.o trackball.o read_jpg.o $(JPEGOBJ)
CC -n32 -o Vrml2_Viewer Vrml2_Viewer.o Draw_Vrml_new.o read_jpg.o trackball.o $(JPEGOBJ) libjpeg.a $(LIBa) $(FLAG) $(LIB2) $(LIB3) $(LIB4)
#
# SGI
#
GLUT_ROOT = /home/habib/glut-3.7
SGI_GLUT = -lglut -lGLU -lGL -lXmu -lXi -lXext -lX11 -lm
# .c:
# cc -I$(GLUT_ROOT)/include -o $@ $< -L$(GLUT_ROOT)/lib $(SGI_GLUT)