AUTOMAKE_OPTIONS = foreign no-dependencies no-installinfo subdir-objects CXXFLAGS = -std=c++23 -Wall -I. -pthread -D_GNU_SOURCE=1 -MMD -MP LDFLAGS = -pthread LIBS = -Wl,--as-need -lprotobuf sbin_PROGRAMS = helmetsrv helmetcli helmetsrv_SOURCES = helmetsrv.cpp \ tservice.cpp tservice.hpp \ sockhand.cpp dockhand.hpp \ $(helmet_SOURCES) helmetcli_SOURCES = helmetcli.cpp \ uxclient.cpp uxclient.hpp \ $(helmet_SOURCES) helmet_SOURCES = \ uxlogger.cpp uxlogger.hpp \ msgheader.cpp msgheader.hpp \ interface.cpp interface.hpp \ uxcontrol.pb.cc uxcontrol.pb.h ASTYLE_OPTS = --indent=spaces=8 --style=java format: $(ASTYLE) $(ASTYLE_OPTS) *.hpp *.cpp proto: $(PROTOC) --cpp_out=. uxcontrol.proto clean-local: rm -rf autom4te.cache rm -f *~ rm -f *.o rm -f *.orig rm -f *.d -include *.d