Added scripts to automatically create GNUmake{rules,vars}

This commit is contained in:
hjp 2005-11-09 12:25:57 +00:00
parent cfbe44bddf
commit 01edfbc263
2 changed files with 8 additions and 0 deletions

3
lspath/GNUmakerules.sh Executable file
View File

@ -0,0 +1,3 @@
#!/bin/sh
echo "\$(BINDIR)/%: %"
echo -e "\tcp \$^ \$@"

5
lspath/GNUmakevars.sh Executable file
View File

@ -0,0 +1,5 @@
#!/bin/sh
prefix=${prefix:-/usr/local}
echo "BINDIR=$prefix/bin"
echo
echo "all:"