From a88ad680422949dfe2d16a544a529649c6d07109 Mon Sep 17 00:00:00 2001 From: Tomasz Kramkowski Date: Mon, 31 May 2021 17:08:09 +0100 Subject: Update build system to the latest luiml version --- .link-executable.do | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 .link-executable.do (limited to '.link-executable.do') diff --git a/.link-executable.do b/.link-executable.do new file mode 100755 index 0000000..4d7abdd --- /dev/null +++ b/.link-executable.do @@ -0,0 +1,12 @@ +#!/bin/bash -e +redo-ifchange .config.rc +. ./.config.rc +exec >"$3" +echo "# generated by $0" +echo "CC=$CC" +echo "LDFLAGS=(${LDFLAGS[@]@Q})" +echo "LDLIBS=(${LDLIBS[@]@Q})" +echo '"$CC" "${LDFLAGS[@]}" "${objects[@]}" "${LDLIBS[@]}" -o "$3"' +if command -v redo-stamp >/dev/null 2>&1; then + redo-stamp <"$3" +fi -- cgit v1.2.3-54-g00ecf