47 lines
985 B
Plaintext
47 lines
985 B
Plaintext
# Linux with AFS at PSI
|
|
|
|
# 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 readline library
|
|
RDLIB=-lreadline -ltermcap
|
|
|
|
# linker flags for pgplot
|
|
SINQ=/afs/psi.ch/project/sinq/linux
|
|
PGLIB=$(SINQ)/pgplot/libpgplot.a -L/usr/X11R6/lib -lX11
|
|
|
|
# link NeXus file input routines ? (comment out if not needed)
|
|
NXFLAG=Y
|
|
|
|
# linker flags for NeXus
|
|
NXLIB=-L$(SINQ)/lib -lNeXus $(SINQ)/lib/libhdf5.a -lmfhdf -ldf -ljpeg -lz
|
|
|
|
# directory for the HDF include files
|
|
NXHDF=$(SINQ)/include
|
|
|
|
# directory for the NeXus include files
|
|
NXINC=$(SINQ)/include
|
|
|
|
-include make_deb
|
|
include src/unix/make_fit
|