Files
fit/makefile_macintel
2022-08-19 15:22:33 +02:00

59 lines
1.3 KiB
Plaintext

# Mac OS X with Fink
# only debuggger version works
DEB=D
# 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 -DF_UNDERSCORE=1
C_STRICT=-Wall
C_RELAXED=
# fortran compiler to be used, flags for different options
FC=gfortran
F_FLAGS=-fimplicit-none -ffixed-line-length-none -fbounds-check -I.
F_STRICT=
F_RELAXED=-Wno-globals
F_OPT=-O
F_DEB=-g
#ld flags
#LDFLAGS=/usr/lib/gcc/i686-apple-darwin8/4.0.1/libgcc_static.a
# 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
# directories for installing the binaries are $(INSTDIR)/bin and $(INSTDIR)/lib
INSTDIR=/sinqsw
# linker flags for pgplot
PGLIB=-L/sw/lib/pgplot -lpgplot -L/usr/X11R6/lib -lX11 -lpng \
-laquaterm -Wl,-framework -Wl,Foundation -Wl,-framework -Wl,AppKit
# link NeXus file input routines ? (comment out if not needed)
#NXFLAG=Y
# linker flags for NeXus
NXLIB=-L/sinqsw/lib -lNeXus -lNeXus77 -L/sw/lib -lhdf5 -lmfhdf -ldf -ljpeg -lz
# directory for the HDF include files
NXHDF=/sw/include
# directory for the NeXus include files
NXINC=$(INSTDIR)/include
ADD_ALL = myfit
-include make_deb
include src/make_gen