head     1.2;
access   ;
symbols  ;
locks    srio:1.2; strict;
comment  @# @;


1.2
date     2000.07.17.14.20.32;  author srio;  state Exp;
branches ;
next     1.1;

1.1
date     2000.07.17.14.19.31;  author srio;  state Exp;
branches ;
next     ;


desc
@@


1.2
log
@WS 1.5 arrived from R. Dejus
@
text
@
# --------------------------------------------------------------
#
#	gmake
#	gmake install	 [to install  it in the correct directory]
#	gmake clean	 [to clean the source directory]
#
#
# --------------------------------------------------------------
#
# System definition (architecture)
#
ARCH := $(shell /pgexp/applications1/XRayOptics/xop/xop_uname)
CPP = cpp


#************ PLATFORM DEPENDET VARIABLES ********************
#
# libraries for sun5 (expgj) 
#
ifeq ($(ARCH),sun5)
FC = f77
FFLAGS =  -Bstatic -O 
endif
#
# libraries for hp (expgi) 
#
ifeq ($(ARCH),hp)
FC = f77
#FFLAGS =  +U77 -K +E4   -O -Dhpux
FFLAGS =  +U77 -K +E1 +E4   -O +U77
endif
#
# libraries for linux (expglio) 
#
ifeq ($(ARCH),linux)
FC = g77
FFLAGS =  -O 
endif
#
# libraries for sgi (lindsga) 
#
ifeq ($(ARCH),irix)
FC = f77
FFLAGS =  -O 
endif
#**********************************************************

.SUFFIXES:
.SUFFIXES: .c .f .F .o .do

all: ws


OBJS = ws.o fk.o fkl.o gy.o k13.o k23.o polint.o qromb8.o trapzd8.o
ws: $(OBJS)
	$(FC) -o $@@ $(OBJS)
# 	$(FC) $(FFLAGS) -o $@@ $< 

.f.o:
	$(FC) -c $(FFLAGS) $<

#  Clean up
clean:
	$(RM) -rf ws core *~ *.o *.trace

install:
	/bin/cp ws /pgexp/applications1/XRayOptics/xop/bin.$(ARCH)/ws
@


1.1
log
@Initial revision
@
text
@d54 5
a58 2
ws: ws.o
	$(FC) $(FFLAGS) -o $@@ $< 
d68 1
a68 1
	/bin/cp ws ../../../bin.$(ARCH)/ws
@
