mirror of
git://git.psyced.org/git/psyced
synced 2024-08-15 03:25:10 +00:00
let the past begone in cvs land. welcome to igit igit!
This commit is contained in:
commit
4e601cf1c7
509 changed files with 77963 additions and 0 deletions
27
utility/Makefile
Normal file
27
utility/Makefile
Normal file
|
@ -0,0 +1,27 @@
|
|||
TARGET=ergebnis
|
||||
LDFLAGS=-s
|
||||
|
||||
start:
|
||||
-@rm $(TARGET) >&/dev/null
|
||||
ifndef ZAHL
|
||||
@echo USAGE:
|
||||
@echo 'make ZAHL=<toCalc>'
|
||||
@false
|
||||
endif
|
||||
- make ZAHL=$(ZAHL) recurseBin
|
||||
@echo
|
||||
cat $(TARGET)
|
||||
@echo
|
||||
-@rm $(TARGET) >&/dev/null
|
||||
|
||||
recurseBin:
|
||||
- perl -e 'if ($(ZAHL) < 2) { exit 1; }' && make ZAHL=`perl -e 'if ($(ZAHL) >= 1) { print $(ZAHL) / 2} else { exit 1; }'` recurseBin
|
||||
perl -e 'print $(ZAHL) % 2' >> $(TARGET)
|
||||
perl -e 'if ($(ZAHL) < 2) { exit 1; }'
|
||||
|
||||
mailtest:
|
||||
make psycmail
|
||||
cp psycmail /usr/depot/mbin/psycmail
|
||||
rm psycmail
|
||||
echo "$@"|elm lynx -s "$@"
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue