X-Git-Url: http://git.plutz.net/?p=rpi_small;a=blobdiff_plain;f=teesock.mk;fp=teesock.mk;h=ef2d2d7fd1da40b227997ccc5d48127f898fb767;hp=0000000000000000000000000000000000000000;hb=c5addb671309744f3f702cea637adf02d5e5cdf9;hpb=9683f284b12970e996f79c77a3cb998c9c52fccd diff --git a/teesock.mk b/teesock.mk new file mode 100644 index 0000000..ef2d2d7 --- /dev/null +++ b/teesock.mk @@ -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 "$<" "$@"