obj = server.o client.o

include $(MAKE_INCL_DIR)/standard.incl

CPPFLAGS += $(I_YTOOLS)


all: client server multiserver testhem testbits

server: server.o 
	$(PURE) $(CXX) $(LDFLAGS) -o $@ $^ $(L_YOODA) -lyootools

aslserver: aslserver.o 
	$(PURE) $(CXX) $(LDFLAGS) -o $@ $^ $(L_YOODA) -lyootools

aslclient: aslclient.o 
	$(PURE) $(CXX) $(LDFLAGS) -o $@ $^ $(L_YOODA) -lyootools
 
multiserver: multiserver.o 
	$(PURE) $(CXX) $(LDFLAGS) -o $@ $^ $(L_YOODA) -lyootools

client: client.o 
	$(PURE) $(CXX) $(LDFLAGS) -o $@ $^ $(L_YOODA) -lyootools

testhem: testhem.o 
	$(PURE) $(CXX) $(LDFLAGS) -o $@ $^ $(L_YOODA) -lyootools

testhem2: testhem2.o 
	$(PURE) $(CXX) $(LDFLAGS) -o $@ $^ $(L_YOODA) -lyootools

testset: testset.o 
	$(PURE) $(CXX) $(LDFLAGS) -o $@ $^ $(L_YOODA) -lyootools

testbits: testbits.o 
	$(PURE) $(CXX) $(LDFLAGS) -o $@ $^ $(L_YOODA) -lyootools

testpattern: testpattern.o 
	$(PURE) $(CXX) $(LDFLAGS) -o $@ $^ $(L_YOODA) -lyootools

clean:
	rm -f *.o *~ client server multiserver testhem testbits

clean-o:
	rm -f *.o

clean-~:
	rm -f *~
	
