adapted to redhat linux

This commit is contained in:
cvs
2002-06-13 12:25:55 +00:00
parent 267d16908a
commit ff5fc16b8e

View File

@ -15,9 +15,9 @@ SYS_FILE_alpha_osf1=sys_aunix
#---------- for Redhat linux (change i386_linux to the corresponding $OSTYPE)
CC_i386_linux= gcc
CFLAGS_i386_linux= -I/usr/local/include -I. -I../ -I../hardsup -DLINUX -g
TECS_PLOT_i386_linux=f77 -c -u -g tecs_plot.for
TECS_PLOT_i386_linux=g77 -c -u -g -ff90 -ffree-form tecs_plot.f
SYS_FILE_i386_linux=sys_linux
TECLI_LIB_i386_linux=/usr/users/tascom/zolliker/pgplot/libpgplot.a -L/usr/X11R6/lib -lX11
#------------ for Linux (what type of Linux?)
CC_what_linux=gcc
CFLAGS_what_linux = -fwritable-strings -DCYGNUS -DNONINTF -g -I../ -I. -I../hardsup
@ -37,7 +37,7 @@ TECLI_OBJ= tecs_client.o tecs_plot.o tecs_for.o sys_util.o str.o instr_hosts.o $
.f.o:
f77 -c -u -g $*.f
g77 -c -u -fvxt -g $*.f
.c.o:
$(CC) $(CFLAGS) -c $*.c
@ -49,7 +49,7 @@ libtecsl.a: $(CLI_OBJ)
all: libtecsl.a bin/TecsServer bin/TecsClient bin/keep_running
tecs_plot.o: tecs_plot.f90
tecs_plot.o: tecs_plot.f90 tecs_plot.f
$(TECS_PLOT)
bin/TecsServer: $(SERV_OBJ)
@ -58,7 +58,7 @@ bin/TecsServer: $(SERV_OBJ)
-lm -L../hardsup -lhlib
bin/TecsClient: $(TECLI_OBJ)
f77 -o bin/TecsClient -g $(TECLI_OBJ) \
g77 -o bin/TecsClient -g $(TECLI_OBJ) \
$(TECLI_LIB) -lreadline -ltermcap
six: six.c term.c sys_select.c libtecsl.a