########################################
# Variables
########################################
########################################
CXXCPP= g++
CXXFLAGS=-Wall
LIBDIRS=  -L /home/devel/qpidc-0.5-rc2-install/lib
INCLUDES= -I /home/devel/qpidc-0.5-rc2-install/include
LIBS= -lqpidclient 




########################################
# All
########################################
########################################

all : \
        rdma_fed_bug_pub.exe   rdma_fed_bug_cons.exe

.PHONY : all





########################################
# Make Executable targets
########################################
########################################
rdma_fed_bug_cons.exe : rdma_fed_bug_cons.o
	$(CXXCPP) $(CXXFLAGS) $(LIBDIRS) $(INCLUDES) -o $@ $^ $(LIBS)

rdma_fed_bug_pub.exe : rdma_fed_bug_pub.o
	$(CXXCPP) $(CXXFLAGS) $(LIBDIRS) $(INCLUDES) -o $@ $^ $(LIBS)

  
  

  
  
########################################
# Object file targets from code
########################################
########################################

%.o : %.cpp
	$(CXXCPP) -c $(CXXFLAGS) $(INCLUDES) -o $@ $<

rdma_fed_bug_cons.o  :  
rdma_fed_bug_pub.o  :  

  
       
########################################
# Clean
########################################
########################################
.PHONY : cleanall clean cleanexe

cleanall : clean cleanexe

clean :
	rm -f *.o
    
cleanexe : 
	rm -f *.exe
    

