Initial commit
This commit is contained in:
51
makefile_cygwin
Executable file
51
makefile_cygwin
Executable file
@ -0,0 +1,51 @@
|
||||
# Linux with AFS at PSI
|
||||
|
||||
# only debugger 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
|
||||
C_STRICT=-Wall
|
||||
C_RELAXED=
|
||||
|
||||
# fortran compiler to be used, flags for different options
|
||||
FC=g77
|
||||
F_FLAGS=-Wimplicit -fbounds-check -I. -static
|
||||
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
|
||||
|
||||
SINQ=../libs/cygwin
|
||||
SL=../libs/cygwin/lib/lib
|
||||
# linker flags for pgplot
|
||||
PGLIB= -Wl,--subsystem,console -lpgplot -lGrWin -mwindows
|
||||
#
|
||||
# link NeXus file input routines ? (comment out if not needed)
|
||||
NXFLAG=Y
|
||||
|
||||
# linker flags for NeXus
|
||||
NXLIB=$(SL)NeXus.a $(SL)hdf5.a $(SL)mfhdf.a $(SL)df.a -ljpeg -lz -lrpclib
|
||||
|
||||
|
||||
# directory for the HDF include files
|
||||
NXHDF=$(SINQ)/include
|
||||
|
||||
# directory for the NeXus include files
|
||||
NXINC=$(SINQ)/include
|
||||
|
||||
-include make_deb
|
||||
include src/make_gen
|
Reference in New Issue
Block a user