diff --git a/tecs/makefile b/tecs/makefile index 79a32079..2e2cac0e 100644 --- a/tecs/makefile +++ b/tecs/makefile @@ -4,7 +4,7 @@ # Markus Zolliker, March 2000 # may now be used on different system without change M.Z.01.2002 #-------------------------------------------------------------------------- -#------------ for DigitalUnix (add -DFORTIFY to CFLAGS for fortified version) +#------------ for DigitalUnix (add -DFORTIFY to CC_... for fortified version) CC_alpha_osf1=cc -std1 -g -warnprotos -I../ -I. -I../hardsup FOR_alpha_osf1=f77 -u -g TECS_PLOT_alpha_osf1=f90 -c -u -g tecs_plot.f90 @@ -12,14 +12,12 @@ TECLI_LIB_alpha_osf1=-L/data/lnslib/lib -lpgplot -lX11 -lXm -so_archive SYS_FILE_alpha_osf1=sys_aunix #CFLAGS_alpha_osf1= -std1 -g -warnprotos -I../ -I. -I../hardsup -DFORTIFY -#---------- for Redhat linux (change i386_linux to the corresponding $OSTYPE) +#---------- for Redhat linux CC_i386_linux= gcc -I/usr/local/include -I. -I../ -I../hardsup -DLINUX -g FOR_i386_linux= g77 -u -fvxt -g 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 -fwritable-strings -DCYGNUS -DNONINTF -g -I../ -I. -I../hardsup +TECLI_LIB_i386_linux=pgplot/libpgplot.a -L/usr/X11R6/lib -lX11 #------------ CC=$(CC_$(MACHTYPE)_$(OSTYPE)) @@ -53,8 +51,7 @@ tecs_plot.o: tecs_plot.f90 tecs_plot.f bin/TecsServer: $(SERV_OBJ) - rm bin/TecsServer - $(CC) -o bin/TecsServer $(SERV_OBJ) fortify1.c \ - -lm -L../hardsup -lhlib + $(CC) -o bin/TecsServer $(SERV_OBJ) -lm -L../hardsup -lhlib bin/TecsClient: $(TECLI_OBJ) $(FOR) -o bin/TecsClient $(TECLI_OBJ) \