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 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72
|
#
# makefile template for Raster3D distribution 3.0
#
# You may want to edit some of the lines below to select
# options or directories appropriate to your local installation.
#
include VERSION
#
# Where to install the program, data files, and manuals
#
prefix = /usr/local
bindir = $(prefix)/bin
datadir = $(prefix)/share/Raster3D/materials
mandir = $(prefix)/man/manl
htmldir = $(prefix)/share/Raster3D/html
examdir = $(prefix)/share/Raster3D/examples
INCDIRS = -I/usr/include -I/usr/local/include
LIBDIRS = -L/usr/local/lib
#
# TIFF support (enabled by default)
# add -DTIFF_SUPPORT to the DEFINES statement.
# add -ltiff to the LIBS definition.
# The TIFF_INVERT option is a work-around for broken programs
# (e.g. PhotoShop) that don't properly read the TIFF header.
#
TLIBS = -ltiff
TDEFS = -DTIFF_SUPPORT -DTIFF_INVERT
# TDEFS = -DTIFF_SUPPORT
#
# libgd support for PNG and JPEG output (enabled by default)
# add -DGD_SUPPORT to the DEFINES statement.
# add -lgd to the LIBS definition.
GDLIBS = -lgd
GDDEFS = -DGD_SUPPORT
#
# Everybody (I think) needs these
#
CLIBS = -lm
#
# Support for on-the-fly decompression of input files using gunzip
# (may not work on all systems)
GDEFS = -DGUNZIP
#
# Support for SGI imagetools library (-sgi output option to render)
# This probably makes sense only on an Irix workstation, and only
# if you have installed the libimage library.
# Commented out by default.
# SLIBS = -limage
# SDEFS = -DLIBIMAGE_SUPPORT
#
# Any stuff you see below this comment was added by the "make OS" command.
# You can edit it if you like, but it will be lost if you "make OS" again.
#
OS = linux
CC = gcc
CFLAGS += -g -Wall -Dgfortran
FC = gfortran -std=legacy
FFLAGS += -g -w -O3 -Wno-tabs -ffixed-line-length-132
RM = /bin/rm -f
OSDEFS = -DLINUX -DNETWORKBYTEORDER
include Makefile.package
qinp.o: qinp.f
$(FC) $(FFLAGS) -g -O0 -Wall -Wno-tabs -c -o qinp.o qinp.f $(LDFLAGS)
|