diff options
author | UnavailableDev <69792062+UnavailableDev@users.noreply.github.com> | 2023-05-25 21:07:27 +0200 |
---|---|---|
committer | UnavailableDev <69792062+UnavailableDev@users.noreply.github.com> | 2023-05-25 21:07:27 +0200 |
commit | fbe109a12420033c3421733072d36a875e154f64 (patch) | |
tree | 3f0efe7cee27c2389d057f411261fd037fccbb2b /zumo/pidtest.mk | |
parent | 76df689d48df0b5056769b9c8ca968ac4a0eb261 (diff) | |
parent | 6daf8036c1342899196b2f7830ae5a18f0918d07 (diff) |
Merge branch 'master' of https://github.com/unavailabledev/avans-dui
Diffstat (limited to 'zumo/pidtest.mk')
-rw-r--r-- | zumo/pidtest.mk | 21 |
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) + |