From 01edfbc26313eb07b27754cfe6fe76094c784b5a Mon Sep 17 00:00:00 2001 From: hjp Date: Wed, 9 Nov 2005 12:25:57 +0000 Subject: [PATCH] Added scripts to automatically create GNUmake{rules,vars} --- lspath/GNUmakerules.sh | 3 +++ lspath/GNUmakevars.sh | 5 +++++ 2 files changed, 8 insertions(+) create mode 100755 lspath/GNUmakerules.sh create mode 100755 lspath/GNUmakevars.sh diff --git a/lspath/GNUmakerules.sh b/lspath/GNUmakerules.sh new file mode 100755 index 0000000..e523b37 --- /dev/null +++ b/lspath/GNUmakerules.sh @@ -0,0 +1,3 @@ +#!/bin/sh +echo "\$(BINDIR)/%: %" +echo -e "\tcp \$^ \$@" diff --git a/lspath/GNUmakevars.sh b/lspath/GNUmakevars.sh new file mode 100755 index 0000000..a7de4ae --- /dev/null +++ b/lspath/GNUmakevars.sh @@ -0,0 +1,5 @@ +#!/bin/sh +prefix=${prefix:-/usr/local} +echo "BINDIR=$prefix/bin" +echo +echo "all:"