# -*- Makefile -*-
#
# @file  Makefile.OrderOut# @brief RTComponent makefile for "OrderOut component"
# @date  $Date$
#
# This file is generated by rtc-template with the following argments.
#
#  /usr/bin/rtc-template -bcxx --module-name=OrderOut  \
#  --module-type=Sample --module-desc=Order Component  \
#  --module-version=0.1 --module-vendor=KLAB --module-category=Generic  \
#  --module-comp-type=DataFlowComponent --module-act-type=SPORADIC  \
#  --outport=out1:TimedInt --outport=out2:TimedInt  \
#  --outport=out3:TimedInt  
#
#
# $Id$
#
CXXFLAGS = `rtm-config --cflags` -I.
LDFLAGS  = `rtm-config --libs`
SHFLAGS  = -shared

IDLC     = `rtm-config --idlc`
IDLFLAGS = `rtm-config --idlflags` -I`rtm-config --prefix`/include/rtm/idl
WRAPPER  = rtm-skelwrapper
WRAPPER_FLAGS = --include-dir="" --skel-suffix=Skel --stub-suffix=Stub

SKEL_OBJ =  
STUB_OBJ =  
IMPL_OBJ =  
OBJS     = OrderOut.o $(SKEL_OBJ) $(STUB_OBJ) $(IMPL_OBJ)

.SUFFIXES : .so

all: OrderOut.so OrderOutComp


.cpp.o:
	rm -f $@
	$(CXX) $(CXXFLAGS) -c -o $@ $<

.o.so:
	rm -f $@
	$(CXX) $(SHFLAGS) -o $@ $(OBJS) $(LDFLAGS)

OrderOutComp: OrderOutComp.o $(OBJS)
	$(CXX) -o $@ $(OBJS) OrderOutComp.o $(LDFLAGS) 


clean: clean_objs clean_skelstub
	rm -f *~

clean_objs:
	rm -f $(OBJS) OrderOutComp.o OrderOut.so OrderOutComp

clean_skelstub:
	rm -f *Skel.h *Skel.cpp
	rm -f *Stub.h *Stub.cpp



OrderOut.so: $(OBJS)
OrderOut.o: OrderOut.h  
OrderOutComp.o: OrderOutComp.cpp OrderOut.cpp OrderOut.h  



# end of Makefile

