summaryrefslogtreecommitdiff
path: root/zumo/pidtest.mk
diff options
context:
space:
mode:
authorUnavailableDev <69792062+UnavailableDev@users.noreply.github.com>2023-05-20 22:08:08 +0200
committerGitHub <noreply@github.com>2023-05-20 22:08:08 +0200
commitac1884bec264d08dc5cc58d1cda24e20734c9205 (patch)
tree6c71a74d2b3d4af7d183b0823b15bba601a37bb5 /zumo/pidtest.mk
parent7a18524a8b97deaafcd93be14e56ce308fe4583c (diff)
parentba026d8229744a01818d38552ec7271e689d19eb (diff)
Merge branch 'lonkaars:master' into master
Diffstat (limited to 'zumo/pidtest.mk')
-rw-r--r--zumo/pidtest.mk21
1 files changed, 21 insertions, 0 deletions
diff --git a/zumo/pidtest.mk b/zumo/pidtest.mk
new file mode 100644
index 0000000..5ffe1e1
--- /dev/null
+++ b/zumo/pidtest.mk
@@ -0,0 +1,21 @@
+CPP = g++
+LD = g++
+RM = rm -f
+CFLAGS =
+LFLAGS =
+TARGET = pidtest
+
+SRCS := pidtest.cpp pid.cpp
+OBJS := pidtest.o pid.o
+
+all: pidtest
+
+%.o: %.cpp
+ $(CPP) -c $(CFLAGS) $< -o $@
+
+$(TARGET): $(OBJS)
+ $(LD) $^ $(LFLAGS) -o $@
+
+clean:
+ $(RM) $(TARGET) $(OBJS)
+