1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
|
#=======================================#
# Makefile options for Xplot11 library #
# Set up or select a set of compile #
# options for your system #
#=======================================#
# Set library name
PLTLIB = libPlt_gDP.a
# Some fortrans need trailing underscores in C interface symbols (see Xwin.c)
# This should work for most of the "unix" fortran compilers
DEFINE = -DUNDERSCORE
FC = gfortran
CC = gcc
DP = -fdefault-real-8
FFLAGS = -O2 -fbounds-check -finit-real=inf -ffpe-trap=invalid,zero -fstack-protector --param=ssp-buffer-size=4 -Wl,-z,relro -g $(DP)
CFLAGS = -O2 -g $(DEFINE) -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -I/usr/X11/include
AR = ar r
RANLIB = ranlib
LINKLIB = -lX11
|