Makefile (416B)
1 install: build 2 install -m0755 blocks/bat bat 3 install -m0755 blocks/cpu cpu 4 install -m0755 blocks/mem mem 5 install -m0755 blocks/vol vol 6 install -m0755 blocks/date date 7 install -m0755 blocks/time time 8 9 build: get 10 [ -d blocks ] && { cd blocks; make; } || false 11 12 get: 13 [ ! -d blocks ] && \ 14 { git clone git://hhvn.uk/s2dblocks blocks || exit 1; } || \ 15 { cd blocks; git pull; true; } 16 17 .PHONY: install build get