1 # This make file is part of the xdrf package.
3 # (C) 1995 Frans van Hoesel, hoesel@chem.rug.nl
5 # 2006 modified by Cezary Czaplewski
7 # Set C compiler and flags for ARCH
8 BGLSYS = /bgl/BlueLight/ppcfloor/bglsys
10 CC = /usr/bin/blrts_xlc
11 CPPC = /usr/bin/blrts_xlc
13 CFLAGS= -O2 -I$(BGLSYS)/include -L$(BGLSYS)/lib -qarch=440d -qtune=440
18 libxdrf.a: libxdrf.o ftocstr.o xdr_array.o xdr.o xdr_float.o xdr_stdio.o
22 rm -f libxdrf.o ftocstr.o libxdrf.a
25 $(CC) $(CFLAGS) -c ftocstr.c
27 libxdrf.o: libxdrf.m4 $(M4FILE)
28 $(M4) $(M4FILE) libxdrf.m4 > libxdrf.c
29 $(CC) $(CFLAGS) -c libxdrf.c