products/sources/formale Sprachen/Fortran/f90gl-1.2.15/examples/F image not shown  

Quellcode-Bibliothek

© Kompilation durch diese Firma

[Weder Korrektheit noch Funktionsfähigkeit der Software werden zugesichert.]

Datei:   Sprache: Unknown

Columbo aufrufen.15/examples/F/mf8lfm zum Wurzelverzeichnis wechselnShell {Shell[88] Python[228] Haskell[255]}Datei anzeigen

# This makefile has been tested on
#   computer: Pentium III
#         OS: Linux 2.4.20-28.8 (Red Hat 8.0)
#   compiler: Imagine1 F version 031017
#          C: gcc 3.2
#     OpenGL: Mesa 5.0, Glut 3.7.1, f90gl 1.2.9

#------------- User configuration parameters ---------------

# modify these for your system

# the directories containing the OpenGL libraries, f90gl libraries, GLUT
# libraries, and f90gl GLUT libraries
OGLLIBDIR = -L../../lib -L$(MESAHOME)/lib

# the directory containing the X11 libraries
X11LIBDIR = -L/usr/X11R6/lib

# the fortran 90 libraries for OpenGL, including GLUT, GLU and OpenGL
F90GLUTLIB = -lf90glut -lf90GLU -lf90GL -lglut -lGLU -lGL

# the X11 libraries
X11LIB = -lXaw -lXt -lXmu -lXi -lXext -lX11

# the f90 compiler flag for specifying the location of MOD files
MODS = -I../../include/GL

# fortran 90 compiler and compiler flags
F90 = F
F90FLAGS = -O

#----------- end of user configuration parameters ------------

all: blender fbitfont fscene glutdino logo olympic scube sphere trivial modview eps molehill checker stars plotfunc polyoff

blender: blender.f90
 $(F90) $(F90FLAGS) -o blender $(MODS) blender.f90 \
 $(OGLLIBDIR) $(F90GLUTLIB) $(X11LIBDIR) $(X11LIB)

fbitfont: fbitfont.f90
 $(F90) $(F90FLAGS) -o fbitfont $(MODS) fbitfont.f90 \
 $(OGLLIBDIR) $(F90GLUTLIB) $(X11LIBDIR) $(X11LIB)

fscene: fscene.f90
 $(F90) $(F90FLAGS) $(FFIXED) -o fscene $(MODS) fscene.f90 \
 $(OGLLIBDIR) $(F90GLUTLIB) $(X11LIBDIR) $(X11LIB)

glutdino: glutdino.f90
 $(F90) $(F90FLAGS) -o glutdino $(MODS) glutdino.f90 \
 $(OGLLIBDIR) $(F90GLUTLIB) $(X11LIBDIR) $(X11LIB)

logo: logo.f90
 $(F90) $(F90FLAGS) -o logo $(MODS) logo.f90 \
 $(OGLLIBDIR) $(F90GLUTLIB) $(X11LIBDIR) $(X11LIB)

olympic: olympic.f90
 $(F90) $(F90FLAGS) -o olympic $(MODS) olympic.f90 \
 $(OGLLIBDIR) $(F90GLUTLIB) $(X11LIBDIR) $(X11LIB)

scube: scube.f90
 $(F90) $(F90FLAGS) -o scube $(MODS) scube.f90 \
 $(OGLLIBDIR) $(F90GLUTLIB) $(X11LIBDIR) $(X11LIB)

sphere: sphere.f90
 $(F90) $(F90FLAGS) $(FFIXED) -o sphere $(MODS) sphere.f90 \
 $(OGLLIBDIR) $(F90GLUTLIB) $(X11LIBDIR) $(X11LIB)

trivial: trivial.f90
 $(F90) $(F90FLAGS) -o trivial $(MODS) trivial.f90 \
 $(OGLLIBDIR) $(F90GLUTLIB) $(X11LIBDIR) $(X11LIB)

modview: modview.f90
 $(F90) $(F90FLAGS) -o modview $(MODS) modview.f90 \
 $(OGLLIBDIR) $(F90GLUTLIB) $(X11LIBDIR) $(X11LIB)

eps: eps.f90
 $(F90) $(F90FLAGS) -o eps $(MODS) eps.f90 \
 $(OGLLIBDIR) $(F90GLUTLIB) $(X11LIBDIR) $(X11LIB)

molehill: molehill.f90
 $(F90) $(F90FLAGS) -o molehill $(MODS) molehill.f90 \
 $(OGLLIBDIR) $(F90GLUTLIB) $(X11LIBDIR) $(X11LIB)

checker: checker.f90
 $(F90) $(F90FLAGS) -o checker $(MODS) checker.f90 \
 $(OGLLIBDIR) $(F90GLUTLIB) $(X11LIBDIR) $(X11LIB)

stars: stars.f90
 $(F90) $(F90FLAGS) -o stars $(MODS) stars.f90 \
 $(OGLLIBDIR) $(F90GLUTLIB) $(X11LIBDIR) $(X11LIB)

plotfunc: plotfunc.f90
 $(F90) $(F90FLAGS) -o plotfunc $(MODS) plotfunc.f90 \
 $(OGLLIBDIR) $(F90GLUTLIB) $(X11LIBDIR) $(X11LIB)

polyoff: polyoff.f90
 $(F90) $(F90FLAGS) -o polyoff $(MODS) polyoff.f90 \
 $(OGLLIBDIR) $(F90GLUTLIB) $(X11LIBDIR) $(X11LIB)

clean:
 rm -f *.o *.mod blender fbitfont fscene glutdino logo molehill olympic scube sphere trivial modview eps molehill checker stars plotfunc polyoff

[ Original von:0.114Diese Quellcodebibliothek enthält Beispiele in vielen Programmiersprachen. Man kann per Verzeichnistruktur darin navigieren. Der Code wird farblich markiert angezeigt.  ]