diff options
author | lonkaars <loek@pipeframe.xyz> | 2023-05-24 18:03:05 +0200 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2023-05-24 18:03:05 +0200 |
commit | cef95354c69745f782a95d37f4b0e7bbf02e106a (patch) | |
tree | ff3a2ce26b1785dc88eb272f41e24ee997c6b4ed /zumo/pidtest/makefile | |
parent | 4568db72dc3f9694ecae3506fc3de6ffc948b24f (diff) |
uart working
Diffstat (limited to 'zumo/pidtest/makefile')
-rw-r--r-- | zumo/pidtest/makefile | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/zumo/pidtest/makefile b/zumo/pidtest/makefile new file mode 100644 index 0000000..832d60b --- /dev/null +++ b/zumo/pidtest/makefile @@ -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) + |