RPCGEN = /usr/site1/rpc/rpcgen

GCCOPTS0 = -O -Wall -fvolatile -fstrength-reduce -fcombine-regs
GCCOPTS1 = $(GCCOPTS0) -nostdinc -DCPU_FAMILY=MC680X0
GCCOPTS2 = -I/usr/site2/vw5.0.2b/vw/h -I/usr/site2/vw5.0.2b/vw/h/rpc
GCCOPTS3 = -I$(CODA)/include
GCCOPTS = $(GCCOPTS1) $(GCCOPTS2) $(GCCOPTS3) -I/usr/site2/vw5.0.2b/vw/h/net 
GCC = /usr/local/bin/gccx68 $(GCCOPTS)
GLD = /usr/local/bin/gldx68

LIB = -L/usr/site1/rpc/usr/lib -lrpclib
CCOPTS = -g -I/usr/site1/rpc/usr/include

mem_1.o: mem_1.c
	$(GCC) -c -o $@ mem_1.c

mem_2.o: mem_2.c
	$(GCC) -c -o $@ mem_2.c

mem_3.o: mem_3.c
	$(GCC) -c -o $@ mem_3.c

mem_4.o: mem_4.c
	$(GCC) -c -o $@ mem_4.c

mem_5.o: mem_5.c
	$(GCC) -c -o $@ mem_5.c

mem_6.o: mem_6.c
	$(GCC) -c -o $@ mem_6.c

mem_speed_0.o: mem_speed_0.c
	$(GCC) -c -o $@ mem_speed_0.c

mem_speed_1.o: mem_speed_1.c
	$(GCC) -c -o $@ mem_speed_1.c

mem_test_0.o: mem_test_0.c
	$(GCC) -c -o $@ mem_test_0.c

mem_test_1.o: mem_test_1.c
	$(GCC) -c -o $@ mem_test_1.c

gms_test_0.o: gms_test_0.c
	$(GCC) -c -o $@ gms_test_0.c

gms_test_1.o: gms_test_1.c
	$(GCC) -c -o $@ gms_test_1.c

gms_test_2.o: gms_test_2.c
	$(GCC) -c -o $@ gms_test_2.c

gms_test_3.o: gms_test_3.c
	$(GCC) -c -o $@ gms_test_3.c

gms_test_4.o: gms_test_4.c
	$(GCC) -c -o $@ gms_test_4.c

gms_test_5.o: gms_test_5.c
	$(GCC) -c -o $@ gms_test_5.c

gms_test_6.o: gms_test_6.c
	$(GCC) -c -o $@ gms_test_6.c

gms_test_8.o: gms_test_8.c
	$(GCC) -c -o $@ gms_test_8.c

gms_test_9.o: gms_test_9.c
	$(GCC) -c -o $@ gms_test_9.c

mot_test_1.o: mot_test_1.c
	$(GCC) -c -o $@ mot_test_1.c

mot_test_6.o: mot_test_6.c
	$(GCC) -c -o $@ mot_test_6.c

mot_test_7.o: mot_test_7.c
	$(GCC) -c -o $@ mot_test_7.c

mot_test_8.o: mot_test_8.c
	$(GCC) -c -o $@ mot_test_8.c

zero.o: zero.c
	$(GCC) -c -o $@ zero.c

ffff.o: ffff.c
	$(GCC) -c -o $@ ffff.c

temp.o: temp.c
	$(GCC) -c -o $@ temp.c

vme2_test.o: vme2_test.c
	$(GCC) -c -o $@ vme2_test.c

vme_address.o: vme_address.c
	$(GCC) -c -o $@ vme_address.c


random.o: random.c
	$(GCC) -c -o $@ random.c

clean cleanup:
	rm -f *.o 





