SRCDIR := $(SRCPARENT)/LuaWrapper
DEP0 := SV3RemotingLib EventLib SMACFramework
DEP := $(DEP0) SMACIdl
CXXFLAGS := -I$(SRCDIR) $(IDLCFLAGS) $(LUACFLAGS) $(LOCALCFLAGS) -I$(SRCPARENT)/$(DEP0) $(CORBACFLAGS) $(CXXFLAGSSTD) -c

MODULES := \
LWAsynchScriptContextLua \
LWCloseLuaInternalCmd \
LWController \
LWControllerLua \
LWControllerSettings \
LWForwardAnyEventReceivedInternalCmd \
LWForwardLocationInternalCmd \
LWForwardSerialDataInternalCmd \
LWForwardTimeoutInternalCmd \
LWInvokeCmd \
LWInvokeLuaInternalCmd \
LWListCmd \
LWLoadLuaCmd \
LWOpenLuaInternalCmd \
LWProgram \
LWProgramSettings \
LWSerialPortLua \
LWSetTraceOptionsInternalCmd \
LWTimerLua \
LWUnloadLuaCmd \
LqrSMACLuaEventConversion \
LqrSMACLuaInstance \
main

$(phony all):	$(MODULES).o

$(phony clean):
	rm -f $(MODULES).o

$(phony cleanall): $(TOP)/$(DEP)/$(BUILDDIR)/cleanall clean

%.o : $(SRCDIR)/%.cpp
    $(CXX) $(CXXFLAGS) $(input) -o $(output)

