From 77e516665f23b9cb7af864318c61582d91ab5870 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Thu, 22 Apr 2021 20:49:48 +0200 Subject: First commit, with implementation of tic-tac-toe MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- multicall-hardlinks.mk | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 multicall-hardlinks.mk (limited to 'multicall-hardlinks.mk') diff --git a/multicall-hardlinks.mk b/multicall-hardlinks.mk new file mode 100644 index 0000000..aaec46d --- /dev/null +++ b/multicall-hardlinks.mk @@ -0,0 +1,12 @@ +all: basic-games + +install: basic-games install-common + mkdir -p -- "$(DESTDIR)$(PREFIX)/bin" + set -- $(BIN) &&\ + cp -- "$$1" "$(DESTDIR)$(PREFIX)/bin/$$1" &&\ + linkto="$$1" &&\ + shift 1 &&\ + cd -- "$(DESTDIR)$(PREFIX)/bin/" &&\ + for f; do\ + ln -- "$$linkto" "$$f" || exit 1;\ + done -- cgit v1.2.3-70-g09d2