all: client client: libvxi11client.o vxi11_clnt.o vxi11_xdr.o client.o $(CC) -o $@ $^ client.o: client.c $(CC) -c $^ libvxi11client.o: libvxi11client.c libvxi11client.h $(CC) -c $< vxi11_clnt.o: vxi11_clnt.c $(CC) -c $< vxi11_xdr.o: vxi11_xdr.c $(CC) -c $^ .PHONY: clean perl clean: -rm *.o client -rm -rf VXI11-Client perl: -rm -rf VXI11-Client h2xs -M vxi11 -x -n VXI11::Client libvxi11client.h