47 lines
995 B
Plaintext
47 lines
995 B
Plaintext
# Mac OS X with Fink
|
|
|
|
# type of library to be used (LIB_TYPE=a or LIB_TYPE=so)
|
|
LIB_TYPE=a
|
|
|
|
# c-compiler to be used, flags for different options
|
|
CC=gcc
|
|
C_FLAGS=-g -D__unix -MMD
|
|
C_STRICT=-Wall
|
|
C_RELAXED=
|
|
|
|
# fortran compiler to be used, flags for different options
|
|
FC=g77
|
|
F_FLAGS=-Wimplicit -fbounds-check -I.
|
|
F_STRICT=
|
|
F_RELAXED=-Wno-globals
|
|
F_OPT=-O
|
|
F_DEB=-g
|
|
|
|
# macros for prerequisites (for GNU make)
|
|
# Q=all, F/C=Fortran/C source with path
|
|
Q=$^
|
|
F=$<
|
|
C=$<
|
|
|
|
# linker flags for the readline library
|
|
RDLIB=-L/sw/lib -lreadline
|
|
|
|
# linker flags for pgplot
|
|
PGLIB=-L/sw/lib/pgplot -lpgplot -L/usr/X11R6/lib -lX11 -lpng -framework Foundation -framework AppKit
|
|
|
|
# link NeXus file input routines ? (comment out if not needed)
|
|
NXFLAG=Y
|
|
|
|
# linker flags for NeXus
|
|
NXLIB=-L../NeXus -lNeXus -L/sw/lib -lhdf5 -lmfhdf -ldf -ljpeg -lz
|
|
|
|
# directory for the HDF include files
|
|
NXHDF=/sw/include
|
|
|
|
# directory for the NeXus include files
|
|
NXINC=../NeXus
|
|
|
|
-include make_deb
|
|
include src/unix/make_fit
|
|
|