diff options
| author | Oskari Timperi <oskari.timperi@optofidelity.com> | 2017-11-13 13:42:26 +0200 |
|---|---|---|
| committer | Oskari Timperi <oskari.timperi@optofidelity.com> | 2017-11-13 13:42:26 +0200 |
| commit | 70896b3f9549199d749470e813f23d0d38092011 (patch) | |
| tree | d7700428818272b96f258618356fef13e8389c09 | |
| parent | 009f89782efc99199f647879d4fc18e4abd15e3d (diff) | |
| download | SimpleMotionV2-70896b3f9549199d749470e813f23d0d38092011.tar.gz SimpleMotionV2-70896b3f9549199d749470e813f23d0d38092011.zip | |
Add Makefile
| -rw-r--r-- | Makefile | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..34b4d4f --- /dev/null +++ b/Makefile @@ -0,0 +1,15 @@ +SOURCES = $(wildcard *.c) \ + drivers/serial/pcserialport.c \ + drivers/tcpip/tcpclient.c + +OBJECTS = $(SOURCES:%.c=%.o) + +CPPFLAGS = -I. +CFLAGS = -Wall -Wextra + +libsimplemotionv2.a: $(OBJECTS) + ar rcs $@ $^ + +.PHONY: clean +clean: + rm -f $(OBJECTS) |
