SRCDIR := $(SRCPARENT)/SeabirdGPCTD

DEP0 := \
SMACFramework \
EventLib \
SV3RemotingLib \
jsoncpp

DEP := \
SMACIdl \
$(SEABIRDGPCTDLIBDEP0)

CXXFLAGS := -I$(SRCDIR) $(IDLCFLAGS) $(LOCALCFLAGS) -I$(SRCPARENT)/$(DEP0) $(CORBACFLAGS) $(CXXFLAGSSTD) -c

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

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

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

MODULES := \
main \
SBGPCTDController \
SBGPCTDControllerPersistSettings \
SBGPCTDControllerSettings \
SBGPCTDProgram \
SBGPCTDProgramSettings \
SBGPCTDSampleEvent \
SBGPCTDSensor \
SBGPCTDSensorSettings \
SBGPCTDSensor_ConfigData \
SBGPCTDSensor_HardwareData \
SBGPCTDSensor_Header \
SBGPCTDSensor_Sample

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

