CC       = CC
INC      = -I..
LIBFLAGS = -lsocket -lnsl
CFLAGS   = -DSYSV4

all : test_cls test_svc

test_cls : test_cls.C ../RPC.h ../RPC.C
	$(CC) $(CFLAGS) $(INC) -o $@ test_cls.C ../RPC.C $(LIBFLAGS)
	/bin/rm -f test_cls.o RPC.o

test_svc : test_svc.C ../RPC.h ../RPC.C
	$(CC) $(CFLAGS) $(INC) -o $@ test_svc.C ../RPC.C $(LIBFLAGS)
	/bin/rm -f test_svc.o RPC.o

clean :
	/bin/rm -f test_svc test_cls
