]> git.plutz.net Git - rpi_small/blobdiff - teesock.mk
include teesock, update test program
[rpi_small] / teesock.mk
diff --git a/teesock.mk b/teesock.mk
new file mode 100644 (file)
index 0000000..ef2d2d7
--- /dev/null
@@ -0,0 +1,8 @@
+teesock/teesock.arm: teesock/teesock.c teesock/Makefile
+       make -C "$(dir $@)" "$(notdir $@)"
+       chmod 755 "$@"
+
+files/usr/local/bin/teesock: teesock/teesock.arm
+       mkdir -p files/usr/local/bin
+       chmod 755 files/usr/ files/usr/local/ files/usr/local/bin/
+       cp -av "$<" "$@"