Added build scripts for GNUmakerules and GNUmakevars.
This commit is contained in:
parent
f3f6f7006e
commit
750ef31e0c
|
@ -1,5 +1,4 @@
|
|||
include GNUmakevars
|
||||
include GNUmakerules
|
||||
|
||||
all: gethostbyname fqdn
|
||||
install: \
|
||||
|
@ -29,4 +28,11 @@ axfr:
|
|||
cp $< $@
|
||||
chmod +x $@
|
||||
|
||||
GNUmakevars: GNUmakevars.sh
|
||||
sh ./$^ > $@
|
||||
GNUmakerules: GNUmakerules.sh
|
||||
sh ./$^ > $@
|
||||
|
||||
include GNUmakerules
|
||||
|
||||
-include *.d
|
||||
|
|
|
@ -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