Added GNUmakerules.sh GNUmakevars.sh
This commit is contained in:
parent
c5acc52b65
commit
0fa224e001
|
@ -4,4 +4,9 @@ clean:
|
|||
rm setperm
|
||||
install: $(BINDIR)/setperm
|
||||
|
||||
GNUmakevars: GNUmakevars.sh
|
||||
sh ./$^ > $@
|
||||
GNUmakerules: GNUmakerules.sh
|
||||
sh ./$^ > $@
|
||||
|
||||
include GNUmakerules
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
echo "\$(BINDIR)/%: %"
|
||||
echo -e "\tcp \$^ \$@"
|
|
@ -0,0 +1,5 @@
|
|||
#!/bin/sh
|
||||
prefix=${prefix:-/usr/local}
|
||||
echo "BINDIR=$prefix/bin"
|
||||
echo
|
||||
echo "all:"
|
Loading…
Reference in New Issue