working commit

This commit is contained in:
2026-04-22 21:38:13 +02:00
parent 76c797b489
commit 04ad3a724b
7 changed files with 1301 additions and 205 deletions
+12 -3
View File
@@ -19,7 +19,8 @@ helmetd_SOURCES = helmetd.cpp \
noinst_PROGRAMS = \
udpclient_test \
service_test \
tunclient_test
tunclient_test \
message_test
tunclient_test_SOURCES = tunclient_test.cpp \
tunclient.cpp tunclient.hpp \
@@ -37,12 +38,20 @@ udpclient_test_SOURCES = \
udpclient.cpp udpclient.hpp \
udpclient_test.cpp
test: tunclient_test
./tunclient_test
message_test_SOURCES = message_test.cpp \
hello.pb.cc hello.pb.h
test: message_test
./message_test
run: helmetd
./helmetd
proto:
$(PROTOC) --cpp_out=. hello.proto
hello.pb.cc hello.pb.h: hello.proto
$(PROTOC) --cpp_out=. hello.proto