blob: 75de0d10bbbbe78b050b0ee8ae400611a9e349f5 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
--- examples/mf8lnt.orig Fri Jan 9 01:23:08 2004
+++ examples/mf8lnt Sun Jul 22 07:26:52 2007
@@ -9,12 +9,14 @@
# modify these for your system
+OPENGLHOME=%%WRKSRC%%
+
# the directories containing the OpenGL libraries, f90gl libraries, GLUT
# libraries, and f90gl GLUT libraries
-OGLLIBDIR = -L../lib -L/usr/X11R6/lib -L$(OPENGLHOME)/lib
+OGLLIBDIR = -L../lib -L%%LOCALBASE%%/lib -L$(OPENGLHOME)/lib
# the directory containing the X11 libraries
-X11LIBDIR = -L/usr/X11R6/lib
+X11LIBDIR = -L%%LOCALBASE%%/lib
# the fortran 90 libraries for OpenGL, including GLUT, GLU and OpenGL
F90GLUTLIB = -lf90glut -lf90GLU -lf90GL -lglut -lGLU -lGL
@@ -23,18 +25,20 @@
X11LIB = -lXmu -lXi -lX11
# the f90 compiler flag for specifying the location of MOD files
-MODS = -I../include/GL
+MODS = -I../include/GL -I%%LOCALBASE%%/include/GL
# fortran 90 compiler and compiler flags
-F90 = nagf95
-F90FLAGS = -O
+F90 = %%FC%%
+F90FLAGS = -O %%FFLAGS%%
# fortran 90 compiler flag for fixed source form
FFIXED = -fixed
#----------- end of user configuration parameters ------------
-all: blender checker fbitfont fscene glutdino logo molehill olympic scube sphere trivial modview stars plotfunc polyoff eps
+all: blender checker fbitfont fscene glutdino logo molehill sphere trivial modview stars plotfunc polyoff eps
+#compile error on gfortran42
+#olympic scube
blender: blender.f90
$(F90) $(F90FLAGS) -o blender $(MODS) blender.f90 \
|