# $Header: $ CC=gcc CFLAGS= -fPIC -I /usr/heimdal/include -I /afs/pdc.kth.se/roots/srv/tegner/v1.2/usr/include LD=gcc LDFLAGS=-shared -Wl,--rpath=/usr/heimdal/lib64 -L/usr/heimdal/lib64 -lkafs DEST=/afs/pdc.kth.se/cluster/tegner/usr/lib64/slurm all: spank_krb5_propagate.so spank_krb5_propagate.o: spank_krb5_propagate.c $(CC) $(CFLAGS) -c -o $@ $^ spank_krb5_propagate.so: spank_krb5_propagate.o $(LD) -o $@ $(LDFLAGS) $^ install: spank_krb5_propagate.so cp $^ $(DEST)/$^ clean: rm -f spank_krb5_propagate.o spank_krb5_propagate.so