Makefiles modified to generate a Linux SICServer. Other files modified to get rid of irritating compiler warning messages.
54 lines
1.5 KiB
Makefile
54 lines
1.5 KiB
Makefile
#---------------------------------------------------------------------------
|
|
# Makefile for the DIFRAC library for SICS.
|
|
#
|
|
# Mark Koennecke, November 1999
|
|
#----------------------------------------------------------------------------
|
|
|
|
#---------- for Redhat linux
|
|
CC= gcc
|
|
CFLAGS= -C -g -c
|
|
|
|
#------------ for DigitalUnix
|
|
##CC=cc
|
|
##CFLAGS= -C -g -c
|
|
#----------------------------------------------------------------------------
|
|
|
|
|
|
FL = f77 $(CFLAGS)
|
|
ROOT = ..
|
|
LIBS = $(ROOT)\libs
|
|
|
|
OBJECTS=difini.o \
|
|
ang180.o angval.o begin.o \
|
|
cent8.o cfind.o demo1e.o align.o \
|
|
centre.o mod360.o profil.o range.o sinmat.o cellls.o \
|
|
wxw2t.o angcal.o basinp.o comptn.o orcel2.o inchkl.o \
|
|
linprf.o lsormt.o mesint.o goloop.o ormat3.o blind.o \
|
|
params.o pltprf.o pcount.o prtang.o prnbas.o prnint.o \
|
|
grid.o sammes.o cellsd.o stdmes.o cntref.o indmes.o \
|
|
wrbas.o reindx.o rcpcor.o lotem.o nexseg.o lister.o \
|
|
oscil.o pfind.o pscan.o peaksr.o sgprnh.o \
|
|
difint.o tcentr.o tfind.o fndsys.o \
|
|
dhgen.o setrow.o creduc.o cinput.o \
|
|
burger.o angrw.o bigchi.o \
|
|
eulkap.o trics.o swrite.o
|
|
|
|
GENS = yesno.o freefm.o alfnum.o matrix.o \
|
|
sgroup.o latmod.o sgrmat.o \
|
|
sglatc.o sglpak.o sgerrs.o sgmtml.o \
|
|
sgtrcf.o \
|
|
setiou.o ibmfil.o
|
|
|
|
all: lib
|
|
|
|
clean:
|
|
rm -f *.o
|
|
|
|
lib: $(OBJECTS) $(GENS)
|
|
- rm -f libdif.a
|
|
ar cr libdif.a $(OBJECTS) $(GENS)
|
|
ranlib libdif.a
|
|
|
|
.f.o:
|
|
$(FL) $*.f
|