Different makefiles for different machines M.Z.
This commit is contained in:
46
tecs/makefile_linux
Normal file
46
tecs/makefile_linux
Normal file
@@ -0,0 +1,46 @@
|
||||
#---------------------------------------------------------------------------
|
||||
# Makefile options for the TECS Client library and TecsServer
|
||||
# machine-dependent part for Redhat Linux with AFS at PSI
|
||||
#
|
||||
# Markus Zolliker, March 2003
|
||||
#--------------------------------------------------------------------------
|
||||
# the following lines only for fortified version
|
||||
DFORTIFY=-DFORTIFY -I$(SRC)..
|
||||
FORTIFYOBJ=../strdup.o ../fortify.o
|
||||
#==========================================================================
|
||||
|
||||
SICST=..
|
||||
SICS=$(SRC)..
|
||||
|
||||
CC = gcc
|
||||
FC = g77
|
||||
CFLAGS = -DLINUX -g $(DFORTIFY)
|
||||
FFLAGS = -u -fvxt -g
|
||||
ARFLAGS = cr
|
||||
|
||||
# -- system dependent routines
|
||||
SYS_FILE =sys_linux
|
||||
|
||||
# -- PGPLOT library
|
||||
#PGPLOT =/afs/psi.ch/project/sinq/linux/pgplot/
|
||||
PGPLOT =/afs/psi.ch/user/z/zolliker/pgplot/
|
||||
PGLIB =$(PGPLOT)/libpgplot.a -L/usr/X11R6/lib -lX11
|
||||
|
||||
# -- library for ASYNSRV
|
||||
HARDSUPLIB=$(SICST)/hardsup/libhlib.a
|
||||
|
||||
# -- readline library
|
||||
RDLIB =-lreadline -ltermcap
|
||||
|
||||
# -- the following macros are used as a replacement for some automatic variables
|
||||
# due to different make versions.
|
||||
# This is for GNU make.
|
||||
#
|
||||
# list of prerequisites including paths for VPATH
|
||||
Q=$^
|
||||
|
||||
# Fortran/C source file name
|
||||
F=$<
|
||||
C=$<
|
||||
|
||||
include $(SRC)make_gen
|
||||
Reference in New Issue
Block a user