aboutsummaryrefslogtreecommitdiff
path: root/zumo/protocoltest/makefile
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2023-05-24 20:51:23 +0200
committerlonkaars <loek@pipeframe.xyz>2023-05-24 20:51:23 +0200
commitd0a1cc366e1657b4d65bd5c3bef35f4173ef2b15 (patch)
tree0ab76c91f7e257000345c9de7af358d872be7af9 /zumo/protocoltest/makefile
parentcef95354c69745f782a95d37f4b0e7bbf02e106a (diff)
fix protocol implementation
Diffstat (limited to 'zumo/protocoltest/makefile')
-rw-r--r--zumo/protocoltest/makefile21
1 files changed, 21 insertions, 0 deletions
diff --git a/zumo/protocoltest/makefile b/zumo/protocoltest/makefile
new file mode 100644
index 0000000..7a69352
--- /dev/null
+++ b/zumo/protocoltest/makefile
@@ -0,0 +1,21 @@
+CPP = g++
+LD = g++
+RM = rm -f
+CFLAGS =
+LFLAGS =
+TARGET = protocoltest
+
+SRCS := $(TARGET).cpp ../protocol.cpp
+OBJS := $(TARGET).o ../protocol.o
+
+all: $(TARGET)
+
+%.o: %.cpp
+ $(CPP) -c $(CFLAGS) $< -o $@
+
+$(TARGET): $(OBJS)
+ $(LD) $^ $(LFLAGS) -o $@
+
+clean:
+ $(RM) $(TARGET) $(OBJS)
+