From dbf6921b3a928403b780ec3044436a2ee3881c4b Mon Sep 17 00:00:00 2001 From: Landon Curt Noll Date: Tue, 23 Jul 2024 22:45:16 -0700 Subject: [PATCH] use include 1337.mk to hold 1337 hacker rulz Updated 1337 hacker rulz to version 7. Added `1337.mk` to contain the updated 1337 hacker rulz (v7). We use an optional include of `1337.mk` (or `../1337.mk`, or `../../1337.mk`) to include the 1337 hacker rulz. Changed `make deep_magic` to `make more_magic`. Changed `bin/tar-entry.sh` VERSION from "1.3.7 2024-07-22" to "1.3.8 2024-07-23". Changed `bin/tar-year.sh` VERSION from "1.2.5 2024-07-22" to "1.2.6 2024-07-23". Add `make new_entry` to `YYYY/Makefile` and `template/Makefile.year`. Change `make new_year` to use `sort -n -u`. Made minor debug message fixes to `bin/new-year.sh`. Changed `bin/new-year.sh` VERSION from "1.3 2024-07-23" to "1.3.1 2024-07-23". Improved `bin/add-dir.sh` to update `YYYY/Makefile` with the new entry directory name. Changed `bin/add-dir.sh` VERSION from "1.0 2024-07-21" to "1.1 2024-07-23". Performed `make www` to accomplish the above and to test under macOS. --- 1337.mk | 86 ++++++++++++++++++++++ 1984/Makefile | 28 ++++++-- 1984/anonymous/Makefile | 79 ++------------------ 1984/decot/Makefile | 79 ++------------------ 1984/laman/Makefile | 79 ++------------------ 1984/mullender/Makefile | 79 ++------------------ 1985/Makefile | 26 +++++-- 1985/august/Makefile | 79 ++------------------ 1985/lycklama/Makefile | 79 ++------------------ 1985/shapiro/Makefile | 79 ++------------------ 1985/sicherman/Makefile | 79 ++------------------ 1986/Makefile | 29 ++++++-- 1986/applin/Makefile | 79 ++------------------ 1986/august/Makefile | 79 ++------------------ 1986/bright/Makefile | 79 ++------------------ 1986/hague/Makefile | 79 ++------------------ 1986/holloway/Makefile | 79 ++------------------ 1986/marshall/Makefile | 79 ++------------------ 1986/pawka/Makefile | 79 ++------------------ 1986/stein/Makefile | 79 ++------------------ 1986/wall/Makefile | 79 ++------------------ 1987/Makefile | 26 +++++-- 1987/biggar/Makefile | 79 ++------------------ 1987/heckbert/Makefile | 79 ++------------------ 1987/hines/Makefile | 79 ++------------------ 1987/korn/Makefile | 79 ++------------------ 1987/lievaart/Makefile | 79 ++------------------ 1987/wall/Makefile | 79 ++------------------ 1987/westley/Makefile | 79 ++------------------ 1988/Makefile | 29 ++++++-- 1988/applin/Makefile | 79 ++------------------ 1988/dale/Makefile | 79 ++------------------ 1988/isaak/Makefile | 79 ++------------------ 1988/litmaath/Makefile | 79 ++------------------ 1988/phillipps/Makefile | 79 ++------------------ 1988/reddy/Makefile | 79 ++------------------ 1988/robison/Makefile | 79 ++------------------ 1988/spinellis/Makefile | 79 ++------------------ 1988/westley/Makefile | 79 ++------------------ 1989/Makefile | 29 ++++++-- 1989/fubar/Makefile | 79 ++------------------ 1989/jar.1/Makefile | 79 ++------------------ 1989/jar.2/Makefile | 79 ++------------------ 1989/ovdluhe/Makefile | 79 ++------------------ 1989/paul/Makefile | 79 ++------------------ 1989/robison/Makefile | 79 ++------------------ 1989/roemer/Makefile | 79 ++------------------ 1989/tromp/Makefile | 79 ++------------------ 1989/vanb/Makefile | 79 ++------------------ 1989/westley/Makefile | 79 ++------------------ 1990/Makefile | 29 ++++++-- 1990/baruch/Makefile | 79 ++------------------ 1990/cmills/Makefile | 79 ++------------------ 1990/dds/Makefile | 79 ++------------------ 1990/dg/Makefile | 79 ++------------------ 1990/jaw/Makefile | 79 ++------------------ 1990/pjr/Makefile | 79 ++------------------ 1990/scjones/Makefile | 79 ++------------------ 1990/stig/Makefile | 79 ++------------------ 1990/tbr/Makefile | 79 ++------------------ 1990/theorem/Makefile | 79 ++------------------ 1990/westley/Makefile | 79 ++------------------ 1991/Makefile | 26 +++++-- 1991/ant/Makefile | 79 ++------------------ 1991/brnstnd/Makefile | 79 ++------------------ 1991/buzzard/Makefile | 79 ++------------------ 1991/cdupont/Makefile | 79 ++------------------ 1991/davidguy/Makefile | 79 ++------------------ 1991/dds/Makefile | 79 ++------------------ 1991/fine/Makefile | 79 ++------------------ 1991/rince/Makefile | 79 ++------------------ 1991/westley/Makefile | 79 ++------------------ 1992/Makefile | 30 +++++--- 1992/adrian/Makefile | 79 ++------------------ 1992/albert/Makefile | 79 ++------------------ 1992/ant/Makefile | 79 ++------------------ 1992/buzzard.1/Makefile | 79 ++------------------ 1992/buzzard.2/Makefile | 79 ++------------------ 1992/gson/Makefile | 79 ++------------------ 1992/imc/Makefile | 79 ++------------------ 1992/kivinen/Makefile | 79 ++------------------ 1992/lush/Makefile | 79 ++------------------ 1992/marangon/Makefile | 79 ++------------------ 1992/nathan/Makefile | 79 ++------------------ 1992/vern/Makefile | 79 ++------------------ 1992/westley/Makefile | 79 ++------------------ 1993/Makefile | 29 ++++++-- 1993/ant/Makefile | 79 ++------------------ 1993/cmills/Makefile | 79 ++------------------ 1993/dgibson/Makefile | 79 ++------------------ 1993/ejb/Makefile | 79 ++------------------ 1993/jonth/Makefile | 79 ++------------------ 1993/leo/Makefile | 79 ++------------------ 1993/lmfjyh/Makefile | 79 ++------------------ 1993/plummer/Makefile | 79 ++------------------ 1993/rince/Makefile | 79 ++------------------ 1993/schnitzi/Makefile | 79 ++------------------ 1993/vanb/Makefile | 79 ++------------------ 1994/Makefile | 29 ++++++-- 1994/dodsond1/Makefile | 79 ++------------------ 1994/dodsond2/Makefile | 79 ++------------------ 1994/horton/Makefile | 79 ++------------------ 1994/imc/Makefile | 79 ++------------------ 1994/ldb/Makefile | 79 ++------------------ 1994/schnitzi/Makefile | 79 ++------------------ 1994/shapiro/Makefile | 79 ++------------------ 1994/smr/Makefile | 79 ++------------------ 1994/tvr/Makefile | 79 ++------------------ 1994/weisberg/Makefile | 79 ++------------------ 1994/westley/Makefile | 79 ++------------------ 1995/Makefile | 30 +++++--- 1995/cdua/Makefile | 79 ++------------------ 1995/dodsond1/Makefile | 79 ++------------------ 1995/dodsond2/Makefile | 79 ++------------------ 1995/esde/Makefile | 79 ++------------------ 1995/garry/Makefile | 79 ++------------------ 1995/heathbar/Makefile | 79 ++------------------ 1995/leo/Makefile | 79 ++------------------ 1995/makarios/Makefile | 79 ++------------------ 1995/savastio/Makefile | 79 ++------------------ 1995/schnitzi/Makefile | 79 ++------------------ 1995/spinellis/Makefile | 79 ++------------------ 1995/vanschnitz/Makefile | 79 ++------------------ 1996/Makefile | 30 +++++--- 1996/august/Makefile | 79 ++------------------ 1996/dalbec/Makefile | 79 ++------------------ 1996/eldby/Makefile | 79 ++------------------ 1996/gandalf/Makefile | 79 ++------------------ 1996/huffman/Makefile | 79 ++------------------ 1996/jonth/Makefile | 79 ++------------------ 1996/rcm/Makefile | 79 ++------------------ 1996/schweikh1/Makefile | 79 ++------------------ 1996/schweikh2/Makefile | 79 ++------------------ 1996/schweikh3/Makefile | 79 ++------------------ 1996/westley/Makefile | 79 ++------------------ 1998/Makefile | 30 +++++--- 1998/banks/Makefile | 79 ++------------------ 1998/bas1/Makefile | 79 ++------------------ 1998/bas2/Makefile | 79 ++------------------ 1998/chaos/Makefile | 79 ++------------------ 1998/df/Makefile | 79 ++------------------ 1998/dlowe/Makefile | 79 ++------------------ 1998/dloweneil/Makefile | 79 ++------------------ 1998/dorssel/Makefile | 79 ++------------------ 1998/fanf/Makefile | 79 ++------------------ 1998/schnitzi/Makefile | 79 ++------------------ 1998/schweikh1/Makefile | 79 ++------------------ 1998/schweikh2/Makefile | 79 ++------------------ 1998/schweikh3/Makefile | 79 ++------------------ 1998/tomtorfs/Makefile | 79 ++------------------ 2000/Makefile | 30 +++++--- 2000/anderson/Makefile | 79 ++------------------ 2000/bellard/Makefile | 79 ++------------------ 2000/bmeyer/Makefile | 79 ++------------------ 2000/briddlebane/Makefile | 79 ++------------------ 2000/dhyang/Makefile | 79 ++------------------ 2000/dlowe/Makefile | 79 ++------------------ 2000/jarijyrki/Makefile | 79 ++------------------ 2000/natori/Makefile | 79 ++------------------ 2000/primenum/Makefile | 79 ++------------------ 2000/rince/Makefile | 79 ++------------------ 2000/robison/Makefile | 79 ++------------------ 2000/schneiderwent/Makefile | 79 ++------------------ 2000/thadgavin/Makefile | 79 ++------------------ 2000/tomx/Makefile | 79 ++------------------ 2001/Makefile | 30 +++++--- 2001/anonymous/Makefile | 79 ++------------------ 2001/bellard/Makefile | 79 ++------------------ 2001/cheong/Makefile | 79 ++------------------ 2001/coupard/Makefile | 79 ++------------------ 2001/ctk/Makefile | 79 ++------------------ 2001/dgbeards/Makefile | 79 ++------------------ 2001/herrmann1/Makefile | 79 ++------------------ 2001/herrmann2/Makefile | 79 ++------------------ 2001/jason/Makefile | 79 ++------------------ 2001/kev/Makefile | 79 ++------------------ 2001/ollinger/Makefile | 79 ++------------------ 2001/rosten/Makefile | 79 ++------------------ 2001/schweikh/Makefile | 79 ++------------------ 2001/westley/Makefile | 79 ++------------------ 2001/williams/Makefile | 79 ++------------------ 2004/Makefile | 30 +++++--- 2004/anonymous/Makefile | 79 ++------------------ 2004/arachnid/Makefile | 79 ++------------------ 2004/burley/Makefile | 79 ++------------------ 2004/gavare/Makefile | 79 ++------------------ 2004/gavin/Makefile | 79 ++------------------ 2004/hibachi/Makefile | 79 ++------------------ 2004/hoyle/Makefile | 79 ++------------------ 2004/jdalbec/Makefile | 79 ++------------------ 2004/kopczynski/Makefile | 79 ++------------------ 2004/newbern/Makefile | 79 ++------------------ 2004/omoikane/Makefile | 79 ++------------------ 2004/schnitzi/Makefile | 79 ++------------------ 2004/sds/Makefile | 79 ++------------------ 2004/vik1/Makefile | 79 ++------------------ 2004/vik2/Makefile | 79 ++------------------ 2005/Makefile | 30 +++++--- 2005/aidan/Makefile | 79 ++------------------ 2005/anon/Makefile | 79 ++------------------ 2005/boutines/Makefile | 79 ++------------------ 2005/chia/Makefile | 79 ++------------------ 2005/giljade/Makefile | 79 ++------------------ 2005/jetro/Makefile | 79 ++------------------ 2005/klausler/Makefile | 79 ++------------------ 2005/mikeash/Makefile | 79 ++------------------ 2005/mynx/Makefile | 79 ++------------------ 2005/persano/Makefile | 79 ++------------------ 2005/sykes/Makefile | 79 ++------------------ 2005/timwi/Makefile | 79 ++------------------ 2005/toledo/Makefile | 79 ++------------------ 2005/vik/Makefile | 79 ++------------------ 2005/vince/Makefile | 79 ++------------------ 2006/Makefile | 30 +++++--- 2006/birken/Makefile | 79 ++------------------ 2006/borsanyi/Makefile | 79 ++------------------ 2006/grothe/Makefile | 79 ++------------------ 2006/hamre/Makefile | 79 ++------------------ 2006/meyer/Makefile | 79 ++------------------ 2006/monge/Makefile | 79 ++------------------ 2006/night/Makefile | 79 ++------------------ 2006/sloane/Makefile | 79 ++------------------ 2006/stewart/Makefile | 79 ++------------------ 2006/sykes1/Makefile | 79 ++------------------ 2006/sykes2/Makefile | 79 ++------------------ 2006/toledo1/Makefile | 79 ++------------------ 2006/toledo2/Makefile | 79 ++------------------ 2006/toledo3/Makefile | 79 ++------------------ 2011/Makefile | 30 +++++--- 2011/akari/Makefile | 79 ++------------------ 2011/blakely/Makefile | 79 ++------------------ 2011/borsanyi/Makefile | 79 ++------------------ 2011/dlowe/Makefile | 79 ++------------------ 2011/eastman/Makefile | 79 ++------------------ 2011/fredriksson/Makefile | 79 ++------------------ 2011/goren/Makefile | 79 ++------------------ 2011/hamaji/Makefile | 79 ++------------------ 2011/hou/Makefile | 79 ++------------------ 2011/konno/Makefile | 79 ++------------------ 2011/richards/Makefile | 79 ++------------------ 2011/toledo/Makefile | 79 ++------------------ 2011/vik/Makefile | 79 ++------------------ 2011/zucker/Makefile | 79 ++------------------ 2012/Makefile | 30 +++++--- 2012/blakely/Makefile | 79 ++------------------ 2012/deckmyn/Makefile | 79 ++------------------ 2012/dlowe/Makefile | 79 ++------------------ 2012/endoh1/Makefile | 79 ++------------------ 2012/endoh2/Makefile | 79 ++------------------ 2012/grothe/Makefile | 79 ++------------------ 2012/hamano/Makefile | 79 ++------------------ 2012/hou/Makefile | 79 ++------------------ 2012/kang/Makefile | 79 ++------------------ 2012/konno/Makefile | 79 ++------------------ 2012/omoikane/Makefile | 79 ++------------------ 2012/tromp/Makefile | 79 ++------------------ 2012/vik/Makefile | 79 ++------------------ 2012/zeitak/Makefile | 79 ++------------------ 2013/Makefile | 30 +++++--- 2013/birken/Makefile | 79 ++------------------ 2013/cable1/Makefile | 79 ++------------------ 2013/cable2/Makefile | 79 ++------------------ 2013/cable3/Makefile | 79 ++------------------ 2013/dlowe/Makefile | 79 ++------------------ 2013/endoh1/Makefile | 79 ++------------------ 2013/endoh2/Makefile | 79 ++------------------ 2013/endoh3/Makefile | 79 ++------------------ 2013/endoh4/Makefile | 79 ++------------------ 2013/hou/Makefile | 79 ++------------------ 2013/mills/Makefile | 79 ++------------------ 2013/misaka/Makefile | 79 ++------------------ 2013/morgan1/Makefile | 79 ++------------------ 2013/morgan2/Makefile | 79 ++------------------ 2013/robison/Makefile | 79 ++------------------ 2014/Makefile | 29 ++++++-- 2014/birken/Makefile | 79 ++------------------ 2014/deak/Makefile | 79 ++------------------ 2014/endoh1/Makefile | 79 ++------------------ 2014/endoh2/Makefile | 79 ++------------------ 2014/maffiodo1/Makefile | 79 ++------------------ 2014/maffiodo2/Makefile | 79 ++------------------ 2014/morgan/Makefile | 79 ++------------------ 2014/sinon/Makefile | 79 ++------------------ 2014/skeggs/Makefile | 79 ++------------------ 2014/vik/Makefile | 79 ++------------------ 2014/wiedijk/Makefile | 79 ++------------------ 2015/Makefile | 29 ++++++-- 2015/burton/Makefile | 79 ++------------------ 2015/dogon/Makefile | 79 ++------------------ 2015/duble/Makefile | 79 ++------------------ 2015/endoh1/Makefile | 79 ++------------------ 2015/endoh2/Makefile | 79 ++------------------ 2015/endoh3/Makefile | 79 ++------------------ 2015/endoh4/Makefile | 79 ++------------------ 2015/hou/Makefile | 79 ++------------------ 2015/howe/Makefile | 79 ++------------------ 2015/mills1/Makefile | 79 ++------------------ 2015/mills2/Makefile | 79 ++------------------ 2015/muth/Makefile | 79 ++------------------ 2015/schweikhardt/Makefile | 79 ++------------------ 2015/yang/Makefile | 79 ++------------------ 2018/Makefile | 30 +++++--- 2018/algmyr/Makefile | 79 ++------------------ 2018/anderson/Makefile | 79 ++------------------ 2018/bellard/Makefile | 79 ++------------------ 2018/burton1/Makefile | 79 ++------------------ 2018/burton2/Makefile | 79 ++------------------ 2018/ciura/Makefile | 79 ++------------------ 2018/endoh1/Makefile | 79 ++------------------ 2018/endoh2/Makefile | 79 ++------------------ 2018/ferguson/Makefile | 79 ++------------------ 2018/giles/Makefile | 79 ++------------------ 2018/hou/Makefile | 79 ++------------------ 2018/mills/Makefile | 79 ++------------------ 2018/poikola/Makefile | 79 ++------------------ 2018/vokes/Makefile | 79 ++------------------ 2018/yang/Makefile | 79 ++------------------ 2019/Makefile | 29 ++++++-- 2019/adamovsky/Makefile | 79 ++------------------ 2019/burton/Makefile | 79 ++------------------ 2019/ciura/Makefile | 79 ++------------------ 2019/diels-grabsch1/Makefile | 79 ++------------------ 2019/diels-grabsch2/Makefile | 79 ++------------------ 2019/dogon/Makefile | 79 ++------------------ 2019/duble/Makefile | 79 ++------------------ 2019/endoh/Makefile | 79 ++------------------ 2019/giles/Makefile | 79 ++------------------ 2019/karns/Makefile | 79 ++------------------ 2019/lynn/Makefile | 79 ++------------------ 2019/mills/Makefile | 79 ++------------------ 2019/poikola/Makefile | 79 ++------------------ 2019/yang/Makefile | 79 ++------------------ 2020/Makefile | 31 +++++--- 2020/burton/Makefile | 79 ++------------------ 2020/carlini/Makefile | 79 ++------------------ 2020/endoh1/Makefile | 79 ++------------------ 2020/endoh2/Makefile | 79 ++------------------ 2020/endoh3/Makefile | 79 ++------------------ 2020/ferguson1/Makefile | 79 ++------------------ 2020/ferguson2/Makefile | 79 ++------------------ 2020/giles/Makefile | 79 ++------------------ 2020/kurdyukov1/Makefile | 79 ++------------------ 2020/kurdyukov2/Makefile | 79 ++------------------ 2020/kurdyukov3/Makefile | 79 ++------------------ 2020/kurdyukov4/Makefile | 79 ++------------------ 2020/otterness/Makefile | 79 ++------------------ 2020/tsoj/Makefile | 79 ++------------------ 2020/yang/Makefile | 79 ++------------------ Makefile | 16 +++-- bin/add-dir.sh | 108 +++++++++++++++++++++++++++- bin/new-year.sh | 13 ++-- bin/tar-entry.sh | 26 ++++++- bin/tar-year.sh | 26 ++++++- template/Makefile.year | 24 +++++-- template/{ => entry}/Makefile.entry | 92 +++--------------------- 355 files changed, 2153 insertions(+), 24306 deletions(-) create mode 100644 1337.mk rename template/{ => entry}/Makefile.entry (60%) diff --git a/1337.mk b/1337.mk new file mode 100644 index 000000000..d28b4dc3f --- /dev/null +++ b/1337.mk @@ -0,0 +1,86 @@ + +############################################################# +# NOTE: 'Don't Panic' if you don't understand the stuff below +############################################################# + +.PHONY: love haste waste maker easter_egg sandwich supernova more_magic magic charon pluto + + +################## +# 133t hacker rulz +################## +# +love: + @echo 'not war?' + +waste: + @echo $@ + +haste: + @echo make waste + @${MAKE} waste + +maker: haste + @echo 'Participate in a maker faire' + @echo make love + @${MAKE} love + +easter_egg: maker + @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" + @echo "chongo '' /\\oo/\\" + @echo "p.s.: Careful with That Axe, Eugene!" + +sandwich: easter_egg + @if [[ $$(id -u) -eq 0 ]]; then \ + echo 'Okay.'; \ + echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ + else \ + echo 'What? Make it yourself.'; \ + echo "Did you forget the magic word?"; \ + fi + +# Understand the history of the Homebrew Computer Club +# as well as the West Coast Computer Faire and +# you might be confused different. :-) +# +supernova: sandwich + @-if [[ -r .code_analysis ]]; then \ + ${RM} -f .code_analysis_v7; \ + else \ + echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ + fi + @echo "A $@ helps ${MAKE} the elements that help form planets" + +more_magic: supernova + @-if [[ -r .code_analysis ]]; then \ + ccode_analysis --more_magic dd268dbcaac550362d98c384c4e576ccc8b1536847b6bbb31023b4c8caee0535 \ + --FNV1a_hash_256_bit -v3 "${PROG}" "${PROG}.c"; \ + else \ + echo "Wrong! Do it again!"; \ + sleep 1; \ + echo "Wrong! Do it again!"; \ + sleep 1; \ + echo "Wrong! Do it again!"; \ + fi + +magic: more_magic + @-if [[ -r .code_analysis ]]; then \ + ccode_analysis --level 20003 --mode 5718856 --FNV1a_hash_256_bit -v3 "${PROG}" "${PROG}.c"; \ + else \ + echo "If you don't eat yer meat, you can't have any pudding!"; \ + echo "How can you have any pudding if you don't eat yer meat?!"; \ + fi + +# The IOCCC resident astronomer states +# +charon: magic + @echo "$@ is a dwarf planet" + @echo "Dwarf planets are a type of planet" + @echo "Therefore IAU, $@ is a planet" + +pluto: charon + @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" + @echo "$@ is a dwarf planet" + @echo "Dwarf planets are a type of planet" + @echo "Therefore, $@ is a planet" + @echo "The geophysical definition of planet gives us ~110 planets in our solar system" diff --git a/1984/Makefile b/1984/Makefile index e525172d7..5fd9d7c8f 100644 --- a/1984/Makefile +++ b/1984/Makefile @@ -16,7 +16,7 @@ # ################################################################################ # -# This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved. +# This file is Copyright (c) 2024 by Landon Curt Noll. All Rights Reserved. # You are free to share and adapt this file under the terms of this license: # # Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) @@ -41,7 +41,9 @@ include ../var.mk # IOCCC entries ############### # +# BEGIN - DO NOT REMOVE THIS LINE - make new_entry uses this line # ENTRIES= anonymous decot laman mullender +# END - DO NOT REMOVE THIS LINE - make new_entry also uses this # YEAR= 1984 @@ -64,8 +66,8 @@ all: .PHONY: all alt data everything diff_orig_prog diff_prog_orig \ diff_alt_prog diff_prog_alt diff_orig_alt diff_alt_orig \ - clean clobber install genpath love haste waste maker \ - easter_egg sandwich supernova deep_magic magic charon pluto + clean clobber install genpath new_entry love haste waste maker \ + easter_egg sandwich supernova more_magic magic charon pluto # alternative executable # @@ -277,10 +279,22 @@ genpath: @echo '=-=-= IOCCC complete make $@ =-=-=' -################## -# 133t hacker rulz -################## +############################################################# +# NOTE: 'Don't Panic' if you don't understand the stuff below +############################################################# + +# add ${NEW_ENTRY} to the list of ${ENTRIES} and output Makefile lines to set updated ${ENTRIES} value # +new_entry: + @(echo 'ENTRIES= '; \ + (echo ${ENTRIES} ${NEW_ENTRY}) | ${TR} ' ' '\012' | ${SORT} -d -u) | \ + ${FMT} -p | ${SED} -e '2,$$s/^/\t/' -e 's/$$/ \\/' -e '$$s/ \\//' + + +################## +# 1337 hacker rulz +################## + love: @echo '=-=-= ${YEAR} begin make $@ =-=-=' @echo @@ -368,7 +382,7 @@ supernova: done @echo '=-=-= ${YEAR} complete make $@ =-=-=' -deep_magic: +more_magic: @echo '=-=-= ${YEAR} begin make $@ =-=-=' @echo @for i in ${ENTRIES}; do \ diff --git a/1984/anonymous/Makefile b/1984/anonymous/Makefile index 595c892ef..4d002180f 100644 --- a/1984/anonymous/Makefile +++ b/1984/anonymous/Makefile @@ -242,79 +242,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/1984/decot/Makefile b/1984/decot/Makefile index b9b736e65..e493b98ec 100644 --- a/1984/decot/Makefile +++ b/1984/decot/Makefile @@ -246,79 +246,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/1984/laman/Makefile b/1984/laman/Makefile index 753a59644..3d14e2a75 100644 --- a/1984/laman/Makefile +++ b/1984/laman/Makefile @@ -236,79 +236,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/1984/mullender/Makefile b/1984/mullender/Makefile index e2dcd93b8..d45b12a1f 100644 --- a/1984/mullender/Makefile +++ b/1984/mullender/Makefile @@ -254,79 +254,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/1985/Makefile b/1985/Makefile index e0439ce3b..5b4b62d84 100644 --- a/1985/Makefile +++ b/1985/Makefile @@ -16,7 +16,7 @@ # ################################################################################ # -# This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved. +# This file is Copyright (c) 2024 by Landon Curt Noll. All Rights Reserved. # You are free to share and adapt this file under the terms of this license: # # Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) @@ -41,7 +41,9 @@ include ../var.mk # IOCCC entries ############### # +# BEGIN - DO NOT REMOVE THIS LINE - make new_entry uses this line # ENTRIES= applin august lycklama shapiro sicherman +# END - DO NOT REMOVE THIS LINE - make new_entry also uses this # YEAR= 1985 @@ -65,7 +67,7 @@ all: .PHONY: all alt data everything diff_orig_prog diff_prog_orig \ diff_alt_prog diff_prog_alt diff_orig_alt diff_alt_orig \ clean clobber install genpath love haste waste maker \ - easter_egg sandwich supernova deep_magic magic charon pluto + easter_egg sandwich supernova more_magic magic charon pluto # alternative executable # @@ -277,10 +279,22 @@ genpath: @echo '=-=-= IOCCC complete make $@ =-=-=' -################## -# 133t hacker rulz -################## +############################################################# +# NOTE: 'Don't Panic' if you don't understand the stuff below +############################################################# + +# add ${NEW_ENTRY} to the list of ${ENTRIES} and output Makefile lines to set updated ${ENTRIES} value # +new_entry: + @(echo 'ENTRIES= '; \ + (echo ${ENTRIES} ${NEW_ENTRY}) | ${TR} ' ' '\012' | ${SORT} -d -u) | \ + ${FMT} -p | ${SED} -e '2,$$s/^/\t/' -e 's/$$/ \\/' -e '$$s/ \\//' + + +################## +# 1337 hacker rulz +################## + love: @echo '=-=-= ${YEAR} begin make $@ =-=-=' @echo @@ -368,7 +382,7 @@ supernova: done @echo '=-=-= ${YEAR} complete make $@ =-=-=' -deep_magic: +more_magic: @echo '=-=-= ${YEAR} begin make $@ =-=-=' @echo @for i in ${ENTRIES}; do \ diff --git a/1985/august/Makefile b/1985/august/Makefile index f315e7ccb..3d6f71c45 100644 --- a/1985/august/Makefile +++ b/1985/august/Makefile @@ -237,79 +237,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/1985/lycklama/Makefile b/1985/lycklama/Makefile index a65879d8f..3457bd114 100644 --- a/1985/lycklama/Makefile +++ b/1985/lycklama/Makefile @@ -243,79 +243,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/1985/shapiro/Makefile b/1985/shapiro/Makefile index a815e3df2..4ab1cfc23 100644 --- a/1985/shapiro/Makefile +++ b/1985/shapiro/Makefile @@ -242,79 +242,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/1985/sicherman/Makefile b/1985/sicherman/Makefile index b4525e544..cd008a16f 100644 --- a/1985/sicherman/Makefile +++ b/1985/sicherman/Makefile @@ -241,79 +241,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/1986/Makefile b/1986/Makefile index 35a365086..c9102eaf1 100644 --- a/1986/Makefile +++ b/1986/Makefile @@ -16,7 +16,7 @@ # ################################################################################ # -# This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved. +# This file is Copyright (c) 2024 by Landon Curt Noll. All Rights Reserved. # You are free to share and adapt this file under the terms of this license: # # Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) @@ -41,7 +41,10 @@ include ../var.mk # IOCCC entries ############### # -ENTRIES= applin august bright hague holloway marshall pawka stein wall +# BEGIN - DO NOT REMOVE THIS LINE - make new_entry uses this line # +ENTRIES= applin august bright hague holloway marshall pawka stein \ + wall +# END - DO NOT REMOVE THIS LINE - make new_entry also uses this # YEAR= 1986 @@ -65,7 +68,7 @@ all: .PHONY: all alt data everything diff_orig_prog diff_prog_orig \ diff_alt_prog diff_prog_alt diff_orig_alt diff_alt_orig \ clean clobber install genpath love haste waste maker \ - easter_egg sandwich supernova deep_magic magic charon pluto + easter_egg sandwich supernova more_magic magic charon pluto # alternative executable # @@ -277,10 +280,22 @@ genpath: @echo '=-=-= IOCCC complete make $@ =-=-=' -################## -# 133t hacker rulz -################## +############################################################# +# NOTE: 'Don't Panic' if you don't understand the stuff below +############################################################# + +# add ${NEW_ENTRY} to the list of ${ENTRIES} and output Makefile lines to set updated ${ENTRIES} value # +new_entry: + @(echo 'ENTRIES= '; \ + (echo ${ENTRIES} ${NEW_ENTRY}) | ${TR} ' ' '\012' | ${SORT} -d -u) | \ + ${FMT} -p | ${SED} -e '2,$$s/^/\t/' -e 's/$$/ \\/' -e '$$s/ \\//' + + +################## +# 1337 hacker rulz +################## + love: @echo '=-=-= ${YEAR} begin make $@ =-=-=' @echo @@ -368,7 +383,7 @@ supernova: done @echo '=-=-= ${YEAR} complete make $@ =-=-=' -deep_magic: +more_magic: @echo '=-=-= ${YEAR} begin make $@ =-=-=' @echo @for i in ${ENTRIES}; do \ diff --git a/1986/applin/Makefile b/1986/applin/Makefile index c181ce95b..c603541cd 100644 --- a/1986/applin/Makefile +++ b/1986/applin/Makefile @@ -235,79 +235,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/1986/august/Makefile b/1986/august/Makefile index b5ce077c2..c88573129 100644 --- a/1986/august/Makefile +++ b/1986/august/Makefile @@ -237,79 +237,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/1986/bright/Makefile b/1986/bright/Makefile index 7ef46a9c8..864697f7e 100644 --- a/1986/bright/Makefile +++ b/1986/bright/Makefile @@ -239,79 +239,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/1986/hague/Makefile b/1986/hague/Makefile index 9b57bc84d..0303e3541 100644 --- a/1986/hague/Makefile +++ b/1986/hague/Makefile @@ -238,79 +238,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/1986/holloway/Makefile b/1986/holloway/Makefile index 8d90979bf..57137ef97 100644 --- a/1986/holloway/Makefile +++ b/1986/holloway/Makefile @@ -236,79 +236,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/1986/marshall/Makefile b/1986/marshall/Makefile index 4109d3ec5..d59f82fcf 100644 --- a/1986/marshall/Makefile +++ b/1986/marshall/Makefile @@ -244,79 +244,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/1986/pawka/Makefile b/1986/pawka/Makefile index 9ca7770f6..b757ffd48 100644 --- a/1986/pawka/Makefile +++ b/1986/pawka/Makefile @@ -234,79 +234,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/1986/stein/Makefile b/1986/stein/Makefile index 0fbe95ae7..d3c1ae8a6 100644 --- a/1986/stein/Makefile +++ b/1986/stein/Makefile @@ -238,79 +238,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/1986/wall/Makefile b/1986/wall/Makefile index afa293c58..9c78f2b7c 100644 --- a/1986/wall/Makefile +++ b/1986/wall/Makefile @@ -244,79 +244,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/1987/Makefile b/1987/Makefile index 6e822f855..2a36ee570 100644 --- a/1987/Makefile +++ b/1987/Makefile @@ -16,7 +16,7 @@ # ################################################################################ # -# This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved. +# This file is Copyright (c) 2024 by Landon Curt Noll. All Rights Reserved. # You are free to share and adapt this file under the terms of this license: # # Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) @@ -41,7 +41,9 @@ include ../var.mk # IOCCC entries ############### # +# BEGIN - DO NOT REMOVE THIS LINE - make new_entry uses this line # ENTRIES= biggar heckbert hines korn lievaart wall westley +# END - DO NOT REMOVE THIS LINE - make new_entry also uses this # YEAR= 1987 @@ -65,7 +67,7 @@ all: .PHONY: all alt data everything diff_orig_prog diff_prog_orig \ diff_alt_prog diff_prog_alt diff_orig_alt diff_alt_orig \ clean clobber install genpath love haste waste maker \ - easter_egg sandwich supernova deep_magic magic charon pluto + easter_egg sandwich supernova more_magic magic charon pluto # alternative executable # @@ -277,10 +279,22 @@ genpath: @echo '=-=-= IOCCC complete make $@ =-=-=' -################## -# 133t hacker rulz -################## +############################################################# +# NOTE: 'Don't Panic' if you don't understand the stuff below +############################################################# + +# add ${NEW_ENTRY} to the list of ${ENTRIES} and output Makefile lines to set updated ${ENTRIES} value # +new_entry: + @(echo 'ENTRIES= '; \ + (echo ${ENTRIES} ${NEW_ENTRY}) | ${TR} ' ' '\012' | ${SORT} -d -u) | \ + ${FMT} -p | ${SED} -e '2,$$s/^/\t/' -e 's/$$/ \\/' -e '$$s/ \\//' + + +################## +# 1337 hacker rulz +################## + love: @echo '=-=-= ${YEAR} begin make $@ =-=-=' @echo @@ -368,7 +382,7 @@ supernova: done @echo '=-=-= ${YEAR} complete make $@ =-=-=' -deep_magic: +more_magic: @echo '=-=-= ${YEAR} begin make $@ =-=-=' @echo @for i in ${ENTRIES}; do \ diff --git a/1987/biggar/Makefile b/1987/biggar/Makefile index 20296b9bb..1ed6d4e0b 100644 --- a/1987/biggar/Makefile +++ b/1987/biggar/Makefile @@ -235,79 +235,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/1987/heckbert/Makefile b/1987/heckbert/Makefile index fd9dd5f21..ea8bb52f7 100644 --- a/1987/heckbert/Makefile +++ b/1987/heckbert/Makefile @@ -239,79 +239,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/1987/hines/Makefile b/1987/hines/Makefile index 975dcaa5d..96164c5da 100644 --- a/1987/hines/Makefile +++ b/1987/hines/Makefile @@ -235,79 +235,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/1987/korn/Makefile b/1987/korn/Makefile index 91e27094c..35a0f7cfa 100644 --- a/1987/korn/Makefile +++ b/1987/korn/Makefile @@ -236,79 +236,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/1987/lievaart/Makefile b/1987/lievaart/Makefile index f707dc132..7ceec8369 100644 --- a/1987/lievaart/Makefile +++ b/1987/lievaart/Makefile @@ -241,79 +241,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/1987/wall/Makefile b/1987/wall/Makefile index 77ea2fba3..cc64e47b0 100644 --- a/1987/wall/Makefile +++ b/1987/wall/Makefile @@ -249,79 +249,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/1987/westley/Makefile b/1987/westley/Makefile index 6984331df..f4953b698 100644 --- a/1987/westley/Makefile +++ b/1987/westley/Makefile @@ -237,79 +237,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/1988/Makefile b/1988/Makefile index 60ee6a559..3e3f2270c 100644 --- a/1988/Makefile +++ b/1988/Makefile @@ -16,7 +16,7 @@ # ################################################################################ # -# This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved. +# This file is Copyright (c) 2024 by Landon Curt Noll. All Rights Reserved. # You are free to share and adapt this file under the terms of this license: # # Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) @@ -41,7 +41,10 @@ include ../var.mk # IOCCC entries ############### # -ENTRIES= applin dale isaak litmaath phillipps reddy robison spinellis westley +# BEGIN - DO NOT REMOVE THIS LINE - make new_entry uses this line # +ENTRIES= applin dale isaak litmaath phillipps reddy robison spinellis \ + westley +# END - DO NOT REMOVE THIS LINE - make new_entry also uses this # YEAR= 1988 @@ -65,7 +68,7 @@ all: .PHONY: all alt data everything diff_orig_prog diff_prog_orig \ diff_alt_prog diff_prog_alt diff_orig_alt diff_alt_orig \ clean clobber install genpath love haste waste maker \ - easter_egg sandwich supernova deep_magic magic charon pluto + easter_egg sandwich supernova more_magic magic charon pluto # alternative executable # @@ -277,10 +280,22 @@ genpath: @echo '=-=-= IOCCC complete make $@ =-=-=' -################## -# 133t hacker rulz -################## +############################################################# +# NOTE: 'Don't Panic' if you don't understand the stuff below +############################################################# + +# add ${NEW_ENTRY} to the list of ${ENTRIES} and output Makefile lines to set updated ${ENTRIES} value # +new_entry: + @(echo 'ENTRIES= '; \ + (echo ${ENTRIES} ${NEW_ENTRY}) | ${TR} ' ' '\012' | ${SORT} -d -u) | \ + ${FMT} -p | ${SED} -e '2,$$s/^/\t/' -e 's/$$/ \\/' -e '$$s/ \\//' + + +################## +# 1337 hacker rulz +################## + love: @echo '=-=-= ${YEAR} begin make $@ =-=-=' @echo @@ -368,7 +383,7 @@ supernova: done @echo '=-=-= ${YEAR} complete make $@ =-=-=' -deep_magic: +more_magic: @echo '=-=-= ${YEAR} begin make $@ =-=-=' @echo @for i in ${ENTRIES}; do \ diff --git a/1988/applin/Makefile b/1988/applin/Makefile index 3062ffba1..57bd5b431 100644 --- a/1988/applin/Makefile +++ b/1988/applin/Makefile @@ -260,79 +260,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/1988/dale/Makefile b/1988/dale/Makefile index 6c4be5923..b946891d0 100644 --- a/1988/dale/Makefile +++ b/1988/dale/Makefile @@ -238,79 +238,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/1988/isaak/Makefile b/1988/isaak/Makefile index 7c8feece2..b4cebb1dd 100644 --- a/1988/isaak/Makefile +++ b/1988/isaak/Makefile @@ -241,79 +241,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/1988/litmaath/Makefile b/1988/litmaath/Makefile index 1c05dc0d7..e7614c2ef 100644 --- a/1988/litmaath/Makefile +++ b/1988/litmaath/Makefile @@ -234,79 +234,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/1988/phillipps/Makefile b/1988/phillipps/Makefile index 6db2930b0..a4d2e83e4 100644 --- a/1988/phillipps/Makefile +++ b/1988/phillipps/Makefile @@ -237,79 +237,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/1988/reddy/Makefile b/1988/reddy/Makefile index bb06ba554..3a0a80116 100644 --- a/1988/reddy/Makefile +++ b/1988/reddy/Makefile @@ -235,79 +235,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/1988/robison/Makefile b/1988/robison/Makefile index 0d81e050b..ce231bc81 100644 --- a/1988/robison/Makefile +++ b/1988/robison/Makefile @@ -235,79 +235,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/1988/spinellis/Makefile b/1988/spinellis/Makefile index 177580d16..b5de19c3e 100644 --- a/1988/spinellis/Makefile +++ b/1988/spinellis/Makefile @@ -283,79 +283,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/1988/westley/Makefile b/1988/westley/Makefile index 7feb43641..7b89cfdde 100644 --- a/1988/westley/Makefile +++ b/1988/westley/Makefile @@ -235,79 +235,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/1989/Makefile b/1989/Makefile index f746aa6e4..3a7244fb5 100644 --- a/1989/Makefile +++ b/1989/Makefile @@ -16,7 +16,7 @@ # ################################################################################ # -# This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved. +# This file is Copyright (c) 2024 by Landon Curt Noll. All Rights Reserved. # You are free to share and adapt this file under the terms of this license: # # Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) @@ -41,7 +41,10 @@ include ../var.mk # IOCCC entries ############### # -ENTRIES= fubar jar.1 jar.2 ovdluhe paul robison roemer tromp vanb westley +# BEGIN - DO NOT REMOVE THIS LINE - make new_entry uses this line # +ENTRIES= fubar jar.1 jar.2 ovdluhe paul robison roemer tromp vanb \ + westley +# END - DO NOT REMOVE THIS LINE - make new_entry also uses this # YEAR= 1989 @@ -65,7 +68,7 @@ all: .PHONY: all alt data everything diff_orig_prog diff_prog_orig \ diff_alt_prog diff_prog_alt diff_orig_alt diff_alt_orig \ clean clobber install genpath love haste waste maker \ - easter_egg sandwich supernova deep_magic magic charon pluto + easter_egg sandwich supernova more_magic magic charon pluto # alternative executable # @@ -277,10 +280,22 @@ genpath: @echo '=-=-= IOCCC complete make $@ =-=-=' -################## -# 133t hacker rulz -################## +############################################################# +# NOTE: 'Don't Panic' if you don't understand the stuff below +############################################################# + +# add ${NEW_ENTRY} to the list of ${ENTRIES} and output Makefile lines to set updated ${ENTRIES} value # +new_entry: + @(echo 'ENTRIES= '; \ + (echo ${ENTRIES} ${NEW_ENTRY}) | ${TR} ' ' '\012' | ${SORT} -d -u) | \ + ${FMT} -p | ${SED} -e '2,$$s/^/\t/' -e 's/$$/ \\/' -e '$$s/ \\//' + + +################## +# 1337 hacker rulz +################## + love: @echo '=-=-= ${YEAR} begin make $@ =-=-=' @echo @@ -368,7 +383,7 @@ supernova: done @echo '=-=-= ${YEAR} complete make $@ =-=-=' -deep_magic: +more_magic: @echo '=-=-= ${YEAR} begin make $@ =-=-=' @echo @for i in ${ENTRIES}; do \ diff --git a/1989/fubar/Makefile b/1989/fubar/Makefile index b74356376..a55c7b239 100644 --- a/1989/fubar/Makefile +++ b/1989/fubar/Makefile @@ -236,79 +236,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/1989/jar.1/Makefile b/1989/jar.1/Makefile index f34f9670e..a79ffdb4f 100644 --- a/1989/jar.1/Makefile +++ b/1989/jar.1/Makefile @@ -247,79 +247,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/1989/jar.2/Makefile b/1989/jar.2/Makefile index 6f7628d41..79d5a3a2f 100644 --- a/1989/jar.2/Makefile +++ b/1989/jar.2/Makefile @@ -238,79 +238,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/1989/ovdluhe/Makefile b/1989/ovdluhe/Makefile index eedab105f..9c7e0858f 100644 --- a/1989/ovdluhe/Makefile +++ b/1989/ovdluhe/Makefile @@ -245,79 +245,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/1989/paul/Makefile b/1989/paul/Makefile index a2ddbf834..b7e32f049 100644 --- a/1989/paul/Makefile +++ b/1989/paul/Makefile @@ -238,79 +238,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/1989/robison/Makefile b/1989/robison/Makefile index e7317fbd8..86c063d2a 100644 --- a/1989/robison/Makefile +++ b/1989/robison/Makefile @@ -241,79 +241,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/1989/roemer/Makefile b/1989/roemer/Makefile index 7b8365b64..c7052cb38 100644 --- a/1989/roemer/Makefile +++ b/1989/roemer/Makefile @@ -237,79 +237,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/1989/tromp/Makefile b/1989/tromp/Makefile index 4793875d9..86b930df8 100644 --- a/1989/tromp/Makefile +++ b/1989/tromp/Makefile @@ -247,79 +247,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/1989/vanb/Makefile b/1989/vanb/Makefile index 701327213..0ab769570 100644 --- a/1989/vanb/Makefile +++ b/1989/vanb/Makefile @@ -234,79 +234,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/1989/westley/Makefile b/1989/westley/Makefile index 69a04de4b..c2054facc 100644 --- a/1989/westley/Makefile +++ b/1989/westley/Makefile @@ -258,79 +258,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/1990/Makefile b/1990/Makefile index 9b3b218fc..96af02f7d 100644 --- a/1990/Makefile +++ b/1990/Makefile @@ -16,7 +16,7 @@ # ################################################################################ # -# This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved. +# This file is Copyright (c) 2024 by Landon Curt Noll. All Rights Reserved. # You are free to share and adapt this file under the terms of this license: # # Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) @@ -41,7 +41,10 @@ include ../var.mk # IOCCC entries ############### # -ENTRIES= baruch cmills dds dg jaw pjr scjones stig tbr theorem westley +# BEGIN - DO NOT REMOVE THIS LINE - make new_entry uses this line # +ENTRIES= baruch cmills dds dg jaw pjr scjones stig tbr theorem \ + westley +# END - DO NOT REMOVE THIS LINE - make new_entry also uses this # YEAR= 1990 @@ -65,7 +68,7 @@ all: .PHONY: all alt data everything diff_orig_prog diff_prog_orig \ diff_alt_prog diff_prog_alt diff_orig_alt diff_alt_orig \ clean clobber install genpath love haste waste maker \ - easter_egg sandwich supernova deep_magic magic charon pluto + easter_egg sandwich supernova more_magic magic charon pluto # alternative executable # @@ -277,10 +280,22 @@ genpath: @echo '=-=-= IOCCC complete make $@ =-=-=' -################## -# 133t hacker rulz -################## +############################################################# +# NOTE: 'Don't Panic' if you don't understand the stuff below +############################################################# + +# add ${NEW_ENTRY} to the list of ${ENTRIES} and output Makefile lines to set updated ${ENTRIES} value # +new_entry: + @(echo 'ENTRIES= '; \ + (echo ${ENTRIES} ${NEW_ENTRY}) | ${TR} ' ' '\012' | ${SORT} -d -u) | \ + ${FMT} -p | ${SED} -e '2,$$s/^/\t/' -e 's/$$/ \\/' -e '$$s/ \\//' + + +################## +# 1337 hacker rulz +################## + love: @echo '=-=-= ${YEAR} begin make $@ =-=-=' @echo @@ -368,7 +383,7 @@ supernova: done @echo '=-=-= ${YEAR} complete make $@ =-=-=' -deep_magic: +more_magic: @echo '=-=-= ${YEAR} begin make $@ =-=-=' @echo @for i in ${ENTRIES}; do \ diff --git a/1990/baruch/Makefile b/1990/baruch/Makefile index 8c5a54385..bbe6f0683 100644 --- a/1990/baruch/Makefile +++ b/1990/baruch/Makefile @@ -236,79 +236,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/1990/cmills/Makefile b/1990/cmills/Makefile index 8dc3f35cc..e788385b8 100644 --- a/1990/cmills/Makefile +++ b/1990/cmills/Makefile @@ -239,79 +239,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/1990/dds/Makefile b/1990/dds/Makefile index aa2d8820b..366e17f49 100644 --- a/1990/dds/Makefile +++ b/1990/dds/Makefile @@ -239,79 +239,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/1990/dg/Makefile b/1990/dg/Makefile index 72eeccc9a..14ead9014 100644 --- a/1990/dg/Makefile +++ b/1990/dg/Makefile @@ -235,79 +235,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/1990/jaw/Makefile b/1990/jaw/Makefile index 343881cd2..edff2f93e 100644 --- a/1990/jaw/Makefile +++ b/1990/jaw/Makefile @@ -248,79 +248,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/1990/pjr/Makefile b/1990/pjr/Makefile index 941d3a060..34fb9b44d 100644 --- a/1990/pjr/Makefile +++ b/1990/pjr/Makefile @@ -233,79 +233,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/1990/scjones/Makefile b/1990/scjones/Makefile index b10847db4..a499502b9 100644 --- a/1990/scjones/Makefile +++ b/1990/scjones/Makefile @@ -236,79 +236,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/1990/stig/Makefile b/1990/stig/Makefile index edf5b23a0..cea18baed 100644 --- a/1990/stig/Makefile +++ b/1990/stig/Makefile @@ -235,79 +235,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/1990/tbr/Makefile b/1990/tbr/Makefile index 150d307d1..d1c1beae1 100644 --- a/1990/tbr/Makefile +++ b/1990/tbr/Makefile @@ -241,79 +241,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/1990/theorem/Makefile b/1990/theorem/Makefile index febac174f..e86c099e8 100644 --- a/1990/theorem/Makefile +++ b/1990/theorem/Makefile @@ -263,79 +263,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/1990/westley/Makefile b/1990/westley/Makefile index a68e15b29..9f2888d02 100644 --- a/1990/westley/Makefile +++ b/1990/westley/Makefile @@ -240,79 +240,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/1991/Makefile b/1991/Makefile index 7be683dcc..73ac969c7 100644 --- a/1991/Makefile +++ b/1991/Makefile @@ -16,7 +16,7 @@ # ################################################################################ # -# This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved. +# This file is Copyright (c) 2024 by Landon Curt Noll. All Rights Reserved. # You are free to share and adapt this file under the terms of this license: # # Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) @@ -41,7 +41,9 @@ include ../var.mk # IOCCC entries ############### # +# BEGIN - DO NOT REMOVE THIS LINE - make new_entry uses this line # ENTRIES= ant brnstnd buzzard cdupont davidguy dds fine rince westley +# END - DO NOT REMOVE THIS LINE - make new_entry also uses this # YEAR= 1991 @@ -65,7 +67,7 @@ all: .PHONY: all alt data everything diff_orig_prog diff_prog_orig \ diff_alt_prog diff_prog_alt diff_orig_alt diff_alt_orig \ clean clobber install genpath love haste waste maker \ - easter_egg sandwich supernova deep_magic magic charon pluto + easter_egg sandwich supernova more_magic magic charon pluto # alternative executable # @@ -277,10 +279,22 @@ genpath: @echo '=-=-= IOCCC complete make $@ =-=-=' -################## -# 133t hacker rulz -################## +############################################################# +# NOTE: 'Don't Panic' if you don't understand the stuff below +############################################################# + +# add ${NEW_ENTRY} to the list of ${ENTRIES} and output Makefile lines to set updated ${ENTRIES} value # +new_entry: + @(echo 'ENTRIES= '; \ + (echo ${ENTRIES} ${NEW_ENTRY}) | ${TR} ' ' '\012' | ${SORT} -d -u) | \ + ${FMT} -p | ${SED} -e '2,$$s/^/\t/' -e 's/$$/ \\/' -e '$$s/ \\//' + + +################## +# 1337 hacker rulz +################## + love: @echo '=-=-= ${YEAR} begin make $@ =-=-=' @echo @@ -368,7 +382,7 @@ supernova: done @echo '=-=-= ${YEAR} complete make $@ =-=-=' -deep_magic: +more_magic: @echo '=-=-= ${YEAR} begin make $@ =-=-=' @echo @for i in ${ENTRIES}; do \ diff --git a/1991/ant/Makefile b/1991/ant/Makefile index b124035ea..508445c02 100644 --- a/1991/ant/Makefile +++ b/1991/ant/Makefile @@ -261,79 +261,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/1991/brnstnd/Makefile b/1991/brnstnd/Makefile index 05304aa81..a3685c47c 100644 --- a/1991/brnstnd/Makefile +++ b/1991/brnstnd/Makefile @@ -239,79 +239,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/1991/buzzard/Makefile b/1991/buzzard/Makefile index 67e702407..46373a5b6 100644 --- a/1991/buzzard/Makefile +++ b/1991/buzzard/Makefile @@ -243,79 +243,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/1991/cdupont/Makefile b/1991/cdupont/Makefile index 5a1fa947b..1fee3036e 100644 --- a/1991/cdupont/Makefile +++ b/1991/cdupont/Makefile @@ -233,79 +233,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/1991/davidguy/Makefile b/1991/davidguy/Makefile index 110415fbb..fed7d5acc 100644 --- a/1991/davidguy/Makefile +++ b/1991/davidguy/Makefile @@ -243,79 +243,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/1991/dds/Makefile b/1991/dds/Makefile index f2ea23bfe..e5180bbba 100644 --- a/1991/dds/Makefile +++ b/1991/dds/Makefile @@ -238,79 +238,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/1991/fine/Makefile b/1991/fine/Makefile index 0c7b753e9..c3f5e436f 100644 --- a/1991/fine/Makefile +++ b/1991/fine/Makefile @@ -235,79 +235,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/1991/rince/Makefile b/1991/rince/Makefile index 5dbc99bee..d17b8119c 100644 --- a/1991/rince/Makefile +++ b/1991/rince/Makefile @@ -247,79 +247,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/1991/westley/Makefile b/1991/westley/Makefile index f562f286f..de5fb9926 100644 --- a/1991/westley/Makefile +++ b/1991/westley/Makefile @@ -348,79 +348,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/1992/Makefile b/1992/Makefile index bd706ff31..b6fa7270b 100644 --- a/1992/Makefile +++ b/1992/Makefile @@ -16,7 +16,7 @@ # ################################################################################ # -# This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved. +# This file is Copyright (c) 2024 by Landon Curt Noll. All Rights Reserved. # You are free to share and adapt this file under the terms of this license: # # Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) @@ -41,8 +41,10 @@ include ../var.mk # IOCCC entries ############### # -ENTRIES= adrian albert ant buzzard.1 buzzard.2 gson imc kivinen lush marangon \ - nathan vern westley +# BEGIN - DO NOT REMOVE THIS LINE - make new_entry uses this line # +ENTRIES= adrian albert ant buzzard.1 buzzard.2 gson imc kivinen \ + lush marangon nathan vern westley +# END - DO NOT REMOVE THIS LINE - make new_entry also uses this # YEAR= 1992 @@ -66,7 +68,7 @@ all: .PHONY: all alt data everything diff_orig_prog diff_prog_orig \ diff_alt_prog diff_prog_alt diff_orig_alt diff_alt_orig \ clean clobber install genpath love haste waste maker \ - easter_egg sandwich supernova deep_magic magic charon pluto + easter_egg sandwich supernova more_magic magic charon pluto # alternative executable # @@ -278,10 +280,22 @@ genpath: @echo '=-=-= IOCCC complete make $@ =-=-=' -################## -# 133t hacker rulz -################## +############################################################# +# NOTE: 'Don't Panic' if you don't understand the stuff below +############################################################# + +# add ${NEW_ENTRY} to the list of ${ENTRIES} and output Makefile lines to set updated ${ENTRIES} value # +new_entry: + @(echo 'ENTRIES= '; \ + (echo ${ENTRIES} ${NEW_ENTRY}) | ${TR} ' ' '\012' | ${SORT} -d -u) | \ + ${FMT} -p | ${SED} -e '2,$$s/^/\t/' -e 's/$$/ \\/' -e '$$s/ \\//' + + +################## +# 1337 hacker rulz +################## + love: @echo '=-=-= ${YEAR} begin make $@ =-=-=' @echo @@ -369,7 +383,7 @@ supernova: done @echo '=-=-= ${YEAR} complete make $@ =-=-=' -deep_magic: +more_magic: @echo '=-=-= ${YEAR} begin make $@ =-=-=' @echo @for i in ${ENTRIES}; do \ diff --git a/1992/adrian/Makefile b/1992/adrian/Makefile index dbd4002cc..68b100561 100644 --- a/1992/adrian/Makefile +++ b/1992/adrian/Makefile @@ -267,79 +267,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/1992/albert/Makefile b/1992/albert/Makefile index 00063d525..05a8e355d 100644 --- a/1992/albert/Makefile +++ b/1992/albert/Makefile @@ -240,79 +240,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/1992/ant/Makefile b/1992/ant/Makefile index f51f173a6..1f329f33f 100644 --- a/1992/ant/Makefile +++ b/1992/ant/Makefile @@ -270,79 +270,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/1992/buzzard.1/Makefile b/1992/buzzard.1/Makefile index b5f5a4e5d..4bb5bfd5c 100644 --- a/1992/buzzard.1/Makefile +++ b/1992/buzzard.1/Makefile @@ -270,79 +270,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/1992/buzzard.2/Makefile b/1992/buzzard.2/Makefile index 2435e6d41..e74c04091 100644 --- a/1992/buzzard.2/Makefile +++ b/1992/buzzard.2/Makefile @@ -249,79 +249,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/1992/gson/Makefile b/1992/gson/Makefile index a8d4c94a9..1bdfcb692 100644 --- a/1992/gson/Makefile +++ b/1992/gson/Makefile @@ -249,79 +249,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/1992/imc/Makefile b/1992/imc/Makefile index b89b9820a..5a8b7dec2 100644 --- a/1992/imc/Makefile +++ b/1992/imc/Makefile @@ -239,79 +239,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/1992/kivinen/Makefile b/1992/kivinen/Makefile index ff28dc5f4..4fe21610d 100644 --- a/1992/kivinen/Makefile +++ b/1992/kivinen/Makefile @@ -247,79 +247,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/1992/lush/Makefile b/1992/lush/Makefile index 26179e6fd..a98d7ca8a 100644 --- a/1992/lush/Makefile +++ b/1992/lush/Makefile @@ -242,79 +242,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/1992/marangon/Makefile b/1992/marangon/Makefile index 414901787..0bd116751 100644 --- a/1992/marangon/Makefile +++ b/1992/marangon/Makefile @@ -243,79 +243,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/1992/nathan/Makefile b/1992/nathan/Makefile index 74ad6ed9b..5c5c75444 100644 --- a/1992/nathan/Makefile +++ b/1992/nathan/Makefile @@ -237,79 +237,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/1992/vern/Makefile b/1992/vern/Makefile index 687128ec4..9d9117f33 100644 --- a/1992/vern/Makefile +++ b/1992/vern/Makefile @@ -245,79 +245,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/1992/westley/Makefile b/1992/westley/Makefile index 134d76725..2fb961780 100644 --- a/1992/westley/Makefile +++ b/1992/westley/Makefile @@ -253,79 +253,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/1993/Makefile b/1993/Makefile index c6fef41a2..f71bd6b35 100644 --- a/1993/Makefile +++ b/1993/Makefile @@ -16,7 +16,7 @@ # ################################################################################ # -# This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved. +# This file is Copyright (c) 2024 by Landon Curt Noll. All Rights Reserved. # You are free to share and adapt this file under the terms of this license: # # Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) @@ -41,7 +41,10 @@ include ../var.mk # IOCCC entries ############### # -ENTRIES= ant cmills dgibson ejb jonth leo lmfjyh plummer rince schnitzi vanb +# BEGIN - DO NOT REMOVE THIS LINE - make new_entry uses this line # +ENTRIES= ant cmills dgibson ejb jonth leo lmfjyh plummer rince \ + schnitzi vanb +# END - DO NOT REMOVE THIS LINE - make new_entry also uses this # YEAR= 1993 @@ -65,7 +68,7 @@ all: .PHONY: all alt data everything diff_orig_prog diff_prog_orig \ diff_alt_prog diff_prog_alt diff_orig_alt diff_alt_orig \ clean clobber install genpath love haste waste maker \ - easter_egg sandwich supernova deep_magic magic charon pluto + easter_egg sandwich supernova more_magic magic charon pluto # alternative executable # @@ -277,10 +280,22 @@ genpath: @echo '=-=-= IOCCC complete make $@ =-=-=' -################## -# 133t hacker rulz -################## +############################################################# +# NOTE: 'Don't Panic' if you don't understand the stuff below +############################################################# + +# add ${NEW_ENTRY} to the list of ${ENTRIES} and output Makefile lines to set updated ${ENTRIES} value # +new_entry: + @(echo 'ENTRIES= '; \ + (echo ${ENTRIES} ${NEW_ENTRY}) | ${TR} ' ' '\012' | ${SORT} -d -u) | \ + ${FMT} -p | ${SED} -e '2,$$s/^/\t/' -e 's/$$/ \\/' -e '$$s/ \\//' + + +################## +# 1337 hacker rulz +################## + love: @echo '=-=-= ${YEAR} begin make $@ =-=-=' @echo @@ -368,7 +383,7 @@ supernova: done @echo '=-=-= ${YEAR} complete make $@ =-=-=' -deep_magic: +more_magic: @echo '=-=-= ${YEAR} begin make $@ =-=-=' @echo @for i in ${ENTRIES}; do \ diff --git a/1993/ant/Makefile b/1993/ant/Makefile index 1cbceb69a..a45e1c2d6 100644 --- a/1993/ant/Makefile +++ b/1993/ant/Makefile @@ -252,79 +252,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/1993/cmills/Makefile b/1993/cmills/Makefile index fc220bb30..b526adf06 100644 --- a/1993/cmills/Makefile +++ b/1993/cmills/Makefile @@ -248,79 +248,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/1993/dgibson/Makefile b/1993/dgibson/Makefile index e8f717738..52a0be17f 100644 --- a/1993/dgibson/Makefile +++ b/1993/dgibson/Makefile @@ -245,79 +245,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/1993/ejb/Makefile b/1993/ejb/Makefile index 9a38c163c..3c2c4af36 100644 --- a/1993/ejb/Makefile +++ b/1993/ejb/Makefile @@ -235,79 +235,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/1993/jonth/Makefile b/1993/jonth/Makefile index 47572823c..0eb9a7961 100644 --- a/1993/jonth/Makefile +++ b/1993/jonth/Makefile @@ -248,79 +248,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/1993/leo/Makefile b/1993/leo/Makefile index e6da73697..9ecc72c95 100644 --- a/1993/leo/Makefile +++ b/1993/leo/Makefile @@ -239,79 +239,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/1993/lmfjyh/Makefile b/1993/lmfjyh/Makefile index 2f46fe84d..6e20b436b 100644 --- a/1993/lmfjyh/Makefile +++ b/1993/lmfjyh/Makefile @@ -249,79 +249,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/1993/plummer/Makefile b/1993/plummer/Makefile index 487b2be79..e3347bb37 100644 --- a/1993/plummer/Makefile +++ b/1993/plummer/Makefile @@ -243,79 +243,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/1993/rince/Makefile b/1993/rince/Makefile index 789058565..f63d78e23 100644 --- a/1993/rince/Makefile +++ b/1993/rince/Makefile @@ -262,79 +262,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/1993/schnitzi/Makefile b/1993/schnitzi/Makefile index 7eaf7168e..b1827fdbd 100644 --- a/1993/schnitzi/Makefile +++ b/1993/schnitzi/Makefile @@ -237,79 +237,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/1993/vanb/Makefile b/1993/vanb/Makefile index 86c1d8edf..3c47241a2 100644 --- a/1993/vanb/Makefile +++ b/1993/vanb/Makefile @@ -235,79 +235,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/1994/Makefile b/1994/Makefile index 81a447774..553339559 100644 --- a/1994/Makefile +++ b/1994/Makefile @@ -16,7 +16,7 @@ # ################################################################################ # -# This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved. +# This file is Copyright (c) 2024 by Landon Curt Noll. All Rights Reserved. # You are free to share and adapt this file under the terms of this license: # # Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) @@ -41,7 +41,10 @@ include ../var.mk # IOCCC entries ############### # -ENTRIES= dodsond1 dodsond2 horton imc ldb schnitzi shapiro smr tvr weisberg westley +# BEGIN - DO NOT REMOVE THIS LINE - make new_entry uses this line # +ENTRIES= dodsond1 dodsond2 horton imc ldb schnitzi shapiro smr tvr \ + weisberg westley +# END - DO NOT REMOVE THIS LINE - make new_entry also uses this # YEAR= 1994 @@ -65,7 +68,7 @@ all: .PHONY: all alt data everything diff_orig_prog diff_prog_orig \ diff_alt_prog diff_prog_alt diff_orig_alt diff_alt_orig \ clean clobber install genpath love haste waste maker \ - easter_egg sandwich supernova deep_magic magic charon pluto + easter_egg sandwich supernova more_magic magic charon pluto # alternative executable # @@ -277,10 +280,22 @@ genpath: @echo '=-=-= IOCCC complete make $@ =-=-=' -################## -# 133t hacker rulz -################## +############################################################# +# NOTE: 'Don't Panic' if you don't understand the stuff below +############################################################# + +# add ${NEW_ENTRY} to the list of ${ENTRIES} and output Makefile lines to set updated ${ENTRIES} value # +new_entry: + @(echo 'ENTRIES= '; \ + (echo ${ENTRIES} ${NEW_ENTRY}) | ${TR} ' ' '\012' | ${SORT} -d -u) | \ + ${FMT} -p | ${SED} -e '2,$$s/^/\t/' -e 's/$$/ \\/' -e '$$s/ \\//' + + +################## +# 1337 hacker rulz +################## + love: @echo '=-=-= ${YEAR} begin make $@ =-=-=' @echo @@ -368,7 +383,7 @@ supernova: done @echo '=-=-= ${YEAR} complete make $@ =-=-=' -deep_magic: +more_magic: @echo '=-=-= ${YEAR} begin make $@ =-=-=' @echo @for i in ${ENTRIES}; do \ diff --git a/1994/dodsond1/Makefile b/1994/dodsond1/Makefile index f5cbdff35..1562d4177 100644 --- a/1994/dodsond1/Makefile +++ b/1994/dodsond1/Makefile @@ -237,79 +237,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/1994/dodsond2/Makefile b/1994/dodsond2/Makefile index 7362cb4b0..aaac92499 100644 --- a/1994/dodsond2/Makefile +++ b/1994/dodsond2/Makefile @@ -245,79 +245,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/1994/horton/Makefile b/1994/horton/Makefile index 924d9203c..bab613915 100644 --- a/1994/horton/Makefile +++ b/1994/horton/Makefile @@ -244,79 +244,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/1994/imc/Makefile b/1994/imc/Makefile index bfff83279..d2c63e120 100644 --- a/1994/imc/Makefile +++ b/1994/imc/Makefile @@ -236,79 +236,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/1994/ldb/Makefile b/1994/ldb/Makefile index 80b1ea196..9985545af 100644 --- a/1994/ldb/Makefile +++ b/1994/ldb/Makefile @@ -241,79 +241,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/1994/schnitzi/Makefile b/1994/schnitzi/Makefile index 0657f0e9c..972370202 100644 --- a/1994/schnitzi/Makefile +++ b/1994/schnitzi/Makefile @@ -249,79 +249,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/1994/shapiro/Makefile b/1994/shapiro/Makefile index 68d05cf0e..70467fc23 100644 --- a/1994/shapiro/Makefile +++ b/1994/shapiro/Makefile @@ -246,79 +246,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/1994/smr/Makefile b/1994/smr/Makefile index 9d2953a45..98f08bb3f 100644 --- a/1994/smr/Makefile +++ b/1994/smr/Makefile @@ -236,79 +236,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/1994/tvr/Makefile b/1994/tvr/Makefile index 5332177ba..632af8209 100644 --- a/1994/tvr/Makefile +++ b/1994/tvr/Makefile @@ -244,79 +244,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/1994/weisberg/Makefile b/1994/weisberg/Makefile index f46df5b11..2765f33cb 100644 --- a/1994/weisberg/Makefile +++ b/1994/weisberg/Makefile @@ -244,79 +244,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/1994/westley/Makefile b/1994/westley/Makefile index 4842da31a..7b50aa7eb 100644 --- a/1994/westley/Makefile +++ b/1994/westley/Makefile @@ -248,79 +248,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/1995/Makefile b/1995/Makefile index 304961475..72aabb319 100644 --- a/1995/Makefile +++ b/1995/Makefile @@ -16,7 +16,7 @@ # ################################################################################ # -# This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved. +# This file is Copyright (c) 2024 by Landon Curt Noll. All Rights Reserved. # You are free to share and adapt this file under the terms of this license: # # Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) @@ -41,8 +41,10 @@ include ../var.mk # IOCCC entries ############### # -ENTRIES= cdua dodsond1 dodsond2 esde garry heathbar leo makarios savastio schnitzi \ - spinellis vanschnitz +# BEGIN - DO NOT REMOVE THIS LINE - make new_entry uses this line # +ENTRIES= cdua dodsond1 dodsond2 esde garry heathbar leo makarios \ + savastio schnitzi spinellis vanschnitz +# END - DO NOT REMOVE THIS LINE - make new_entry also uses this # YEAR= 1995 @@ -66,7 +68,7 @@ all: .PHONY: all alt data everything diff_orig_prog diff_prog_orig \ diff_alt_prog diff_prog_alt diff_orig_alt diff_alt_orig \ clean clobber install genpath love haste waste maker \ - easter_egg sandwich supernova deep_magic magic charon pluto + easter_egg sandwich supernova more_magic magic charon pluto # alternative executable # @@ -278,10 +280,22 @@ genpath: @echo '=-=-= IOCCC complete make $@ =-=-=' -################## -# 133t hacker rulz -################## +############################################################# +# NOTE: 'Don't Panic' if you don't understand the stuff below +############################################################# + +# add ${NEW_ENTRY} to the list of ${ENTRIES} and output Makefile lines to set updated ${ENTRIES} value # +new_entry: + @(echo 'ENTRIES= '; \ + (echo ${ENTRIES} ${NEW_ENTRY}) | ${TR} ' ' '\012' | ${SORT} -d -u) | \ + ${FMT} -p | ${SED} -e '2,$$s/^/\t/' -e 's/$$/ \\/' -e '$$s/ \\//' + + +################## +# 1337 hacker rulz +################## + love: @echo '=-=-= ${YEAR} begin make $@ =-=-=' @echo @@ -369,7 +383,7 @@ supernova: done @echo '=-=-= ${YEAR} complete make $@ =-=-=' -deep_magic: +more_magic: @echo '=-=-= ${YEAR} begin make $@ =-=-=' @echo @for i in ${ENTRIES}; do \ diff --git a/1995/cdua/Makefile b/1995/cdua/Makefile index df1dadde6..a665ea308 100644 --- a/1995/cdua/Makefile +++ b/1995/cdua/Makefile @@ -245,79 +245,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/1995/dodsond1/Makefile b/1995/dodsond1/Makefile index 3b17665ce..eccae963c 100644 --- a/1995/dodsond1/Makefile +++ b/1995/dodsond1/Makefile @@ -235,79 +235,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/1995/dodsond2/Makefile b/1995/dodsond2/Makefile index 3f5b83ec6..f4a052a72 100644 --- a/1995/dodsond2/Makefile +++ b/1995/dodsond2/Makefile @@ -237,79 +237,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/1995/esde/Makefile b/1995/esde/Makefile index dda4ef2a1..f80066139 100644 --- a/1995/esde/Makefile +++ b/1995/esde/Makefile @@ -237,79 +237,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/1995/garry/Makefile b/1995/garry/Makefile index 5e661fb99..dc297adfb 100644 --- a/1995/garry/Makefile +++ b/1995/garry/Makefile @@ -238,79 +238,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/1995/heathbar/Makefile b/1995/heathbar/Makefile index d2150b3b1..942b6a613 100644 --- a/1995/heathbar/Makefile +++ b/1995/heathbar/Makefile @@ -233,79 +233,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/1995/leo/Makefile b/1995/leo/Makefile index f57c570a1..83adad611 100644 --- a/1995/leo/Makefile +++ b/1995/leo/Makefile @@ -236,79 +236,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/1995/makarios/Makefile b/1995/makarios/Makefile index e6dbd2251..25b326fd6 100644 --- a/1995/makarios/Makefile +++ b/1995/makarios/Makefile @@ -235,79 +235,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/1995/savastio/Makefile b/1995/savastio/Makefile index d717d19b4..1a91b5918 100644 --- a/1995/savastio/Makefile +++ b/1995/savastio/Makefile @@ -236,79 +236,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/1995/schnitzi/Makefile b/1995/schnitzi/Makefile index a6d7c5f2e..8479be1d3 100644 --- a/1995/schnitzi/Makefile +++ b/1995/schnitzi/Makefile @@ -236,79 +236,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/1995/spinellis/Makefile b/1995/spinellis/Makefile index 8aa6ecce8..6c0f95581 100644 --- a/1995/spinellis/Makefile +++ b/1995/spinellis/Makefile @@ -235,79 +235,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/1995/vanschnitz/Makefile b/1995/vanschnitz/Makefile index b5f211c59..15e3874db 100644 --- a/1995/vanschnitz/Makefile +++ b/1995/vanschnitz/Makefile @@ -239,79 +239,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/1996/Makefile b/1996/Makefile index efddc85bc..459b7e04b 100644 --- a/1996/Makefile +++ b/1996/Makefile @@ -16,7 +16,7 @@ # ################################################################################ # -# This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved. +# This file is Copyright (c) 2024 by Landon Curt Noll. All Rights Reserved. # You are free to share and adapt this file under the terms of this license: # # Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) @@ -41,8 +41,10 @@ include ../var.mk # IOCCC entries ############### # -ENTRIES= august dalbec eldby gandalf huffman jonth rcm schweikh1 schweikh2 schweikh3 \ - westley +# BEGIN - DO NOT REMOVE THIS LINE - make new_entry uses this line # +ENTRIES= august dalbec eldby gandalf huffman jonth rcm schweikh1 \ + schweikh2 schweikh3 westley +# END - DO NOT REMOVE THIS LINE - make new_entry also uses this # YEAR= 1996 @@ -66,7 +68,7 @@ all: .PHONY: all alt data everything diff_orig_prog diff_prog_orig \ diff_alt_prog diff_prog_alt diff_orig_alt diff_alt_orig \ clean clobber install genpath love haste waste maker \ - easter_egg sandwich supernova deep_magic magic charon pluto + easter_egg sandwich supernova more_magic magic charon pluto # alternative executable # @@ -278,10 +280,22 @@ genpath: @echo '=-=-= IOCCC complete make $@ =-=-=' -################## -# 133t hacker rulz -################## +############################################################# +# NOTE: 'Don't Panic' if you don't understand the stuff below +############################################################# + +# add ${NEW_ENTRY} to the list of ${ENTRIES} and output Makefile lines to set updated ${ENTRIES} value # +new_entry: + @(echo 'ENTRIES= '; \ + (echo ${ENTRIES} ${NEW_ENTRY}) | ${TR} ' ' '\012' | ${SORT} -d -u) | \ + ${FMT} -p | ${SED} -e '2,$$s/^/\t/' -e 's/$$/ \\/' -e '$$s/ \\//' + + +################## +# 1337 hacker rulz +################## + love: @echo '=-=-= ${YEAR} begin make $@ =-=-=' @echo @@ -369,7 +383,7 @@ supernova: done @echo '=-=-= ${YEAR} complete make $@ =-=-=' -deep_magic: +more_magic: @echo '=-=-= ${YEAR} begin make $@ =-=-=' @echo @for i in ${ENTRIES}; do \ diff --git a/1996/august/Makefile b/1996/august/Makefile index 056e0cf55..0e8ef9f60 100644 --- a/1996/august/Makefile +++ b/1996/august/Makefile @@ -246,79 +246,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/1996/dalbec/Makefile b/1996/dalbec/Makefile index d3815628e..883136fac 100644 --- a/1996/dalbec/Makefile +++ b/1996/dalbec/Makefile @@ -233,79 +233,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/1996/eldby/Makefile b/1996/eldby/Makefile index a7f413a8a..e3fa5e073 100644 --- a/1996/eldby/Makefile +++ b/1996/eldby/Makefile @@ -240,79 +240,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/1996/gandalf/Makefile b/1996/gandalf/Makefile index d64e35002..43985115a 100644 --- a/1996/gandalf/Makefile +++ b/1996/gandalf/Makefile @@ -246,79 +246,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/1996/huffman/Makefile b/1996/huffman/Makefile index f5e0034aa..3203b9078 100644 --- a/1996/huffman/Makefile +++ b/1996/huffman/Makefile @@ -234,79 +234,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/1996/jonth/Makefile b/1996/jonth/Makefile index 3f38c5d11..a59cbe6b4 100644 --- a/1996/jonth/Makefile +++ b/1996/jonth/Makefile @@ -241,79 +241,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/1996/rcm/Makefile b/1996/rcm/Makefile index ea98972b7..ed58a62b2 100644 --- a/1996/rcm/Makefile +++ b/1996/rcm/Makefile @@ -240,79 +240,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/1996/schweikh1/Makefile b/1996/schweikh1/Makefile index bd8f98844..acfe94d24 100644 --- a/1996/schweikh1/Makefile +++ b/1996/schweikh1/Makefile @@ -236,79 +236,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/1996/schweikh2/Makefile b/1996/schweikh2/Makefile index d173f2d0d..aea05a867 100644 --- a/1996/schweikh2/Makefile +++ b/1996/schweikh2/Makefile @@ -236,79 +236,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/1996/schweikh3/Makefile b/1996/schweikh3/Makefile index 6da6469ea..7bbc5e001 100644 --- a/1996/schweikh3/Makefile +++ b/1996/schweikh3/Makefile @@ -235,79 +235,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/1996/westley/Makefile b/1996/westley/Makefile index e142b02e9..23db0bfc0 100644 --- a/1996/westley/Makefile +++ b/1996/westley/Makefile @@ -238,79 +238,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/1998/Makefile b/1998/Makefile index 981480158..42a3f96eb 100644 --- a/1998/Makefile +++ b/1998/Makefile @@ -16,7 +16,7 @@ # ################################################################################ # -# This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved. +# This file is Copyright (c) 2024 by Landon Curt Noll. All Rights Reserved. # You are free to share and adapt this file under the terms of this license: # # Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) @@ -41,8 +41,10 @@ include ../var.mk # IOCCC entries ############### # -ENTRIES= banks bas1 bas2 chaos df dlowe dloweneil dorssel fanf schnitzi schweikh1 \ - schweikh2 schweikh3 tomtorfs +# BEGIN - DO NOT REMOVE THIS LINE - make new_entry uses this line # +ENTRIES= banks bas1 bas2 chaos df dlowe dloweneil dorssel fanf \ + schnitzi schweikh1 schweikh2 schweikh3 tomtorfs +# END - DO NOT REMOVE THIS LINE - make new_entry also uses this # YEAR= 1998 @@ -66,7 +68,7 @@ all: .PHONY: all alt data everything diff_orig_prog diff_prog_orig \ diff_alt_prog diff_prog_alt diff_orig_alt diff_alt_orig \ clean clobber install genpath love haste waste maker \ - easter_egg sandwich supernova deep_magic magic charon pluto + easter_egg sandwich supernova more_magic magic charon pluto # alternative executable # @@ -278,10 +280,22 @@ genpath: @echo '=-=-= IOCCC complete make $@ =-=-=' -################## -# 133t hacker rulz -################## +############################################################# +# NOTE: 'Don't Panic' if you don't understand the stuff below +############################################################# + +# add ${NEW_ENTRY} to the list of ${ENTRIES} and output Makefile lines to set updated ${ENTRIES} value # +new_entry: + @(echo 'ENTRIES= '; \ + (echo ${ENTRIES} ${NEW_ENTRY}) | ${TR} ' ' '\012' | ${SORT} -d -u) | \ + ${FMT} -p | ${SED} -e '2,$$s/^/\t/' -e 's/$$/ \\/' -e '$$s/ \\//' + + +################## +# 1337 hacker rulz +################## + love: @echo '=-=-= ${YEAR} begin make $@ =-=-=' @echo @@ -369,7 +383,7 @@ supernova: done @echo '=-=-= ${YEAR} complete make $@ =-=-=' -deep_magic: +more_magic: @echo '=-=-= ${YEAR} begin make $@ =-=-=' @echo @for i in ${ENTRIES}; do \ diff --git a/1998/banks/Makefile b/1998/banks/Makefile index 312612bf6..e497c6507 100644 --- a/1998/banks/Makefile +++ b/1998/banks/Makefile @@ -256,79 +256,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/1998/bas1/Makefile b/1998/bas1/Makefile index 5a8aa993a..2a0994d23 100644 --- a/1998/bas1/Makefile +++ b/1998/bas1/Makefile @@ -243,79 +243,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/1998/bas2/Makefile b/1998/bas2/Makefile index fcf57a127..cc1067267 100644 --- a/1998/bas2/Makefile +++ b/1998/bas2/Makefile @@ -234,79 +234,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/1998/chaos/Makefile b/1998/chaos/Makefile index 8bba34fa1..c59416b67 100644 --- a/1998/chaos/Makefile +++ b/1998/chaos/Makefile @@ -243,79 +243,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/1998/df/Makefile b/1998/df/Makefile index 55b3a4fcd..c5b40f72d 100644 --- a/1998/df/Makefile +++ b/1998/df/Makefile @@ -242,79 +242,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/1998/dlowe/Makefile b/1998/dlowe/Makefile index 98d8937d4..093983e06 100644 --- a/1998/dlowe/Makefile +++ b/1998/dlowe/Makefile @@ -237,79 +237,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/1998/dloweneil/Makefile b/1998/dloweneil/Makefile index 749c822fb..ffd4ff515 100644 --- a/1998/dloweneil/Makefile +++ b/1998/dloweneil/Makefile @@ -245,79 +245,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/1998/dorssel/Makefile b/1998/dorssel/Makefile index ea0b80d0e..d4d89aec0 100644 --- a/1998/dorssel/Makefile +++ b/1998/dorssel/Makefile @@ -236,79 +236,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/1998/fanf/Makefile b/1998/fanf/Makefile index ac51f62ec..b43f998d5 100644 --- a/1998/fanf/Makefile +++ b/1998/fanf/Makefile @@ -241,79 +241,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/1998/schnitzi/Makefile b/1998/schnitzi/Makefile index bc073036b..c06bbfbaa 100644 --- a/1998/schnitzi/Makefile +++ b/1998/schnitzi/Makefile @@ -240,79 +240,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/1998/schweikh1/Makefile b/1998/schweikh1/Makefile index f1306a1eb..8b9dbf912 100644 --- a/1998/schweikh1/Makefile +++ b/1998/schweikh1/Makefile @@ -238,79 +238,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/1998/schweikh2/Makefile b/1998/schweikh2/Makefile index 284758148..36fd9c208 100644 --- a/1998/schweikh2/Makefile +++ b/1998/schweikh2/Makefile @@ -238,79 +238,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/1998/schweikh3/Makefile b/1998/schweikh3/Makefile index 67c849577..6228f00f2 100644 --- a/1998/schweikh3/Makefile +++ b/1998/schweikh3/Makefile @@ -244,79 +244,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/1998/tomtorfs/Makefile b/1998/tomtorfs/Makefile index 1adf18ba1..67c7b4e40 100644 --- a/1998/tomtorfs/Makefile +++ b/1998/tomtorfs/Makefile @@ -234,79 +234,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2000/Makefile b/2000/Makefile index ed9a24138..6bf7a976d 100644 --- a/2000/Makefile +++ b/2000/Makefile @@ -16,7 +16,7 @@ # ################################################################################ # -# This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved. +# This file is Copyright (c) 2024 by Landon Curt Noll. All Rights Reserved. # You are free to share and adapt this file under the terms of this license: # # Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) @@ -41,8 +41,10 @@ include ../var.mk # IOCCC entries ############### # -ENTRIES= anderson bellard bmeyer briddlebane dhyang dlowe jarijyrki natori primenum \ - rince robison schneiderwent thadgavin tomx +# BEGIN - DO NOT REMOVE THIS LINE - make new_entry uses this line # +ENTRIES= anderson bellard bmeyer briddlebane dhyang dlowe jarijyrki \ + natori primenum rince robison schneiderwent thadgavin tomx +# END - DO NOT REMOVE THIS LINE - make new_entry also uses this # YEAR= 2000 @@ -66,7 +68,7 @@ all: .PHONY: all alt data everything diff_orig_prog diff_prog_orig \ diff_alt_prog diff_prog_alt diff_orig_alt diff_alt_orig \ clean clobber install genpath love haste waste maker \ - easter_egg sandwich supernova deep_magic magic charon pluto + easter_egg sandwich supernova more_magic magic charon pluto # alternative executable # @@ -278,10 +280,22 @@ genpath: @echo '=-=-= IOCCC complete make $@ =-=-=' -################## -# 133t hacker rulz -################## +############################################################# +# NOTE: 'Don't Panic' if you don't understand the stuff below +############################################################# + +# add ${NEW_ENTRY} to the list of ${ENTRIES} and output Makefile lines to set updated ${ENTRIES} value # +new_entry: + @(echo 'ENTRIES= '; \ + (echo ${ENTRIES} ${NEW_ENTRY}) | ${TR} ' ' '\012' | ${SORT} -d -u) | \ + ${FMT} -p | ${SED} -e '2,$$s/^/\t/' -e 's/$$/ \\/' -e '$$s/ \\//' + + +################## +# 1337 hacker rulz +################## + love: @echo '=-=-= ${YEAR} begin make $@ =-=-=' @echo @@ -369,7 +383,7 @@ supernova: done @echo '=-=-= ${YEAR} complete make $@ =-=-=' -deep_magic: +more_magic: @echo '=-=-= ${YEAR} begin make $@ =-=-=' @echo @for i in ${ENTRIES}; do \ diff --git a/2000/anderson/Makefile b/2000/anderson/Makefile index 7ae7ea006..934279a1a 100644 --- a/2000/anderson/Makefile +++ b/2000/anderson/Makefile @@ -237,79 +237,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2000/bellard/Makefile b/2000/bellard/Makefile index 81c6a121c..60322c6c8 100644 --- a/2000/bellard/Makefile +++ b/2000/bellard/Makefile @@ -236,79 +236,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2000/bmeyer/Makefile b/2000/bmeyer/Makefile index 682b2fa5b..be4b80ffb 100644 --- a/2000/bmeyer/Makefile +++ b/2000/bmeyer/Makefile @@ -243,79 +243,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2000/briddlebane/Makefile b/2000/briddlebane/Makefile index 79ab7acac..510baac22 100644 --- a/2000/briddlebane/Makefile +++ b/2000/briddlebane/Makefile @@ -239,79 +239,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2000/dhyang/Makefile b/2000/dhyang/Makefile index 1756f308f..a95c421f2 100644 --- a/2000/dhyang/Makefile +++ b/2000/dhyang/Makefile @@ -264,79 +264,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2000/dlowe/Makefile b/2000/dlowe/Makefile index 9e7c065be..480efdb85 100644 --- a/2000/dlowe/Makefile +++ b/2000/dlowe/Makefile @@ -239,79 +239,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2000/jarijyrki/Makefile b/2000/jarijyrki/Makefile index 710c75764..38a34f3e1 100644 --- a/2000/jarijyrki/Makefile +++ b/2000/jarijyrki/Makefile @@ -243,79 +243,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2000/natori/Makefile b/2000/natori/Makefile index 256dae761..bc8b99bb4 100644 --- a/2000/natori/Makefile +++ b/2000/natori/Makefile @@ -236,79 +236,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2000/primenum/Makefile b/2000/primenum/Makefile index 5edcb64e9..a5a1b8c53 100644 --- a/2000/primenum/Makefile +++ b/2000/primenum/Makefile @@ -234,79 +234,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2000/rince/Makefile b/2000/rince/Makefile index 5cfcac901..eef6176f0 100644 --- a/2000/rince/Makefile +++ b/2000/rince/Makefile @@ -241,79 +241,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2000/robison/Makefile b/2000/robison/Makefile index 88b354f28..6d4de8ced 100644 --- a/2000/robison/Makefile +++ b/2000/robison/Makefile @@ -238,79 +238,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2000/schneiderwent/Makefile b/2000/schneiderwent/Makefile index 9a1087a08..8fc11c5e7 100644 --- a/2000/schneiderwent/Makefile +++ b/2000/schneiderwent/Makefile @@ -237,79 +237,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2000/thadgavin/Makefile b/2000/thadgavin/Makefile index 1f8a02347..3795a87da 100644 --- a/2000/thadgavin/Makefile +++ b/2000/thadgavin/Makefile @@ -254,79 +254,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2000/tomx/Makefile b/2000/tomx/Makefile index 2c4aec77a..888ec8d7d 100644 --- a/2000/tomx/Makefile +++ b/2000/tomx/Makefile @@ -238,79 +238,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2001/Makefile b/2001/Makefile index cba84af4b..3194d4bc4 100644 --- a/2001/Makefile +++ b/2001/Makefile @@ -16,7 +16,7 @@ # ################################################################################ # -# This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved. +# This file is Copyright (c) 2024 by Landon Curt Noll. All Rights Reserved. # You are free to share and adapt this file under the terms of this license: # # Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) @@ -41,8 +41,10 @@ include ../var.mk # IOCCC entries ############### # -ENTRIES= anonymous bellard cheong coupard ctk dgbeards herrmann1 herrmann2 jason \ - kev ollinger rosten schweikh westley williams +# BEGIN - DO NOT REMOVE THIS LINE - make new_entry uses this line # +ENTRIES= anonymous bellard cheong coupard ctk dgbeards herrmann1 \ + herrmann2 jason kev ollinger rosten schweikh westley williams +# END - DO NOT REMOVE THIS LINE - make new_entry also uses this # YEAR= 2001 @@ -66,7 +68,7 @@ all: .PHONY: all alt data everything diff_orig_prog diff_prog_orig \ diff_alt_prog diff_prog_alt diff_orig_alt diff_alt_orig \ clean clobber install genpath love haste waste maker \ - easter_egg sandwich supernova deep_magic magic charon pluto + easter_egg sandwich supernova more_magic magic charon pluto # alternative executable # @@ -278,10 +280,22 @@ genpath: @echo '=-=-= IOCCC complete make $@ =-=-=' -################## -# 133t hacker rulz -################## +############################################################# +# NOTE: 'Don't Panic' if you don't understand the stuff below +############################################################# + +# add ${NEW_ENTRY} to the list of ${ENTRIES} and output Makefile lines to set updated ${ENTRIES} value # +new_entry: + @(echo 'ENTRIES= '; \ + (echo ${ENTRIES} ${NEW_ENTRY}) | ${TR} ' ' '\012' | ${SORT} -d -u) | \ + ${FMT} -p | ${SED} -e '2,$$s/^/\t/' -e 's/$$/ \\/' -e '$$s/ \\//' + + +################## +# 1337 hacker rulz +################## + love: @echo '=-=-= ${YEAR} begin make $@ =-=-=' @echo @@ -369,7 +383,7 @@ supernova: done @echo '=-=-= ${YEAR} complete make $@ =-=-=' -deep_magic: +more_magic: @echo '=-=-= ${YEAR} begin make $@ =-=-=' @echo @for i in ${ENTRIES}; do \ diff --git a/2001/anonymous/Makefile b/2001/anonymous/Makefile index b60a60266..9ece0b558 100644 --- a/2001/anonymous/Makefile +++ b/2001/anonymous/Makefile @@ -302,79 +302,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2001/bellard/Makefile b/2001/bellard/Makefile index d4096162f..141938331 100644 --- a/2001/bellard/Makefile +++ b/2001/bellard/Makefile @@ -244,79 +244,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2001/cheong/Makefile b/2001/cheong/Makefile index 93165db1f..887bbae8a 100644 --- a/2001/cheong/Makefile +++ b/2001/cheong/Makefile @@ -234,79 +234,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2001/coupard/Makefile b/2001/coupard/Makefile index fd75c4728..db52d6a27 100644 --- a/2001/coupard/Makefile +++ b/2001/coupard/Makefile @@ -236,79 +236,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2001/ctk/Makefile b/2001/ctk/Makefile index 7a89f447b..a7b4f852e 100644 --- a/2001/ctk/Makefile +++ b/2001/ctk/Makefile @@ -241,79 +241,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2001/dgbeards/Makefile b/2001/dgbeards/Makefile index 4b8980efd..75dd482c9 100644 --- a/2001/dgbeards/Makefile +++ b/2001/dgbeards/Makefile @@ -239,79 +239,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2001/herrmann1/Makefile b/2001/herrmann1/Makefile index ff0297995..a6351c373 100644 --- a/2001/herrmann1/Makefile +++ b/2001/herrmann1/Makefile @@ -234,79 +234,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2001/herrmann2/Makefile b/2001/herrmann2/Makefile index f44a19e19..6488201a8 100644 --- a/2001/herrmann2/Makefile +++ b/2001/herrmann2/Makefile @@ -244,79 +244,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2001/jason/Makefile b/2001/jason/Makefile index ea3919977..f7036956e 100644 --- a/2001/jason/Makefile +++ b/2001/jason/Makefile @@ -239,79 +239,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2001/kev/Makefile b/2001/kev/Makefile index d8b7380f1..bbc91287a 100644 --- a/2001/kev/Makefile +++ b/2001/kev/Makefile @@ -249,79 +249,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2001/ollinger/Makefile b/2001/ollinger/Makefile index 83743c54d..a9e97a5a5 100644 --- a/2001/ollinger/Makefile +++ b/2001/ollinger/Makefile @@ -235,79 +235,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2001/rosten/Makefile b/2001/rosten/Makefile index 902a590fb..2e8bd0669 100644 --- a/2001/rosten/Makefile +++ b/2001/rosten/Makefile @@ -237,79 +237,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2001/schweikh/Makefile b/2001/schweikh/Makefile index bab810dfc..ca49c8ecb 100644 --- a/2001/schweikh/Makefile +++ b/2001/schweikh/Makefile @@ -234,79 +234,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2001/westley/Makefile b/2001/westley/Makefile index 7ecde1f8f..295c8b633 100644 --- a/2001/westley/Makefile +++ b/2001/westley/Makefile @@ -267,79 +267,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2001/williams/Makefile b/2001/williams/Makefile index e5c700e05..2b4df2c92 100644 --- a/2001/williams/Makefile +++ b/2001/williams/Makefile @@ -240,79 +240,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2004/Makefile b/2004/Makefile index b380ab038..803f9ee95 100644 --- a/2004/Makefile +++ b/2004/Makefile @@ -16,7 +16,7 @@ # ################################################################################ # -# This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved. +# This file is Copyright (c) 2024 by Landon Curt Noll. All Rights Reserved. # You are free to share and adapt this file under the terms of this license: # # Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) @@ -41,8 +41,10 @@ include ../var.mk # IOCCC entries ############### # -ENTRIES= anonymous arachnid burley gavare gavin hibachi hoyle jdalbec kopczynski \ - newbern omoikane schnitzi sds vik1 vik2 +# BEGIN - DO NOT REMOVE THIS LINE - make new_entry uses this line # +ENTRIES= anonymous arachnid burley gavare gavin hibachi hoyle jdalbec \ + kopczynski newbern omoikane schnitzi sds vik1 vik2 +# END - DO NOT REMOVE THIS LINE - make new_entry also uses this # YEAR= 2004 @@ -66,7 +68,7 @@ all: .PHONY: all alt data everything diff_orig_prog diff_prog_orig \ diff_alt_prog diff_prog_alt diff_orig_alt diff_alt_orig \ clean clobber install genpath love haste waste maker \ - easter_egg sandwich supernova deep_magic magic charon pluto + easter_egg sandwich supernova more_magic magic charon pluto # alternative executable # @@ -278,10 +280,22 @@ genpath: @echo '=-=-= IOCCC complete make $@ =-=-=' -################## -# 133t hacker rulz -################## +############################################################# +# NOTE: 'Don't Panic' if you don't understand the stuff below +############################################################# + +# add ${NEW_ENTRY} to the list of ${ENTRIES} and output Makefile lines to set updated ${ENTRIES} value # +new_entry: + @(echo 'ENTRIES= '; \ + (echo ${ENTRIES} ${NEW_ENTRY}) | ${TR} ' ' '\012' | ${SORT} -d -u) | \ + ${FMT} -p | ${SED} -e '2,$$s/^/\t/' -e 's/$$/ \\/' -e '$$s/ \\//' + + +################## +# 1337 hacker rulz +################## + love: @echo '=-=-= ${YEAR} begin make $@ =-=-=' @echo @@ -369,7 +383,7 @@ supernova: done @echo '=-=-= ${YEAR} complete make $@ =-=-=' -deep_magic: +more_magic: @echo '=-=-= ${YEAR} begin make $@ =-=-=' @echo @for i in ${ENTRIES}; do \ diff --git a/2004/anonymous/Makefile b/2004/anonymous/Makefile index 281e259fb..7525d8221 100644 --- a/2004/anonymous/Makefile +++ b/2004/anonymous/Makefile @@ -235,79 +235,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2004/arachnid/Makefile b/2004/arachnid/Makefile index 4c3104d13..75c2be473 100644 --- a/2004/arachnid/Makefile +++ b/2004/arachnid/Makefile @@ -238,79 +238,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2004/burley/Makefile b/2004/burley/Makefile index 4ad292e67..a3379061f 100644 --- a/2004/burley/Makefile +++ b/2004/burley/Makefile @@ -240,79 +240,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2004/gavare/Makefile b/2004/gavare/Makefile index f6d2ed4d3..b9cd8131b 100644 --- a/2004/gavare/Makefile +++ b/2004/gavare/Makefile @@ -251,79 +251,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2004/gavin/Makefile b/2004/gavin/Makefile index 5356a6b8b..0f0f007e1 100644 --- a/2004/gavin/Makefile +++ b/2004/gavin/Makefile @@ -286,79 +286,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2004/hibachi/Makefile b/2004/hibachi/Makefile index c8e48aa4e..d1874e0b7 100644 --- a/2004/hibachi/Makefile +++ b/2004/hibachi/Makefile @@ -262,79 +262,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2004/hoyle/Makefile b/2004/hoyle/Makefile index e583c3a70..f4f7fa261 100644 --- a/2004/hoyle/Makefile +++ b/2004/hoyle/Makefile @@ -237,79 +237,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2004/jdalbec/Makefile b/2004/jdalbec/Makefile index cd3963453..252014ec7 100644 --- a/2004/jdalbec/Makefile +++ b/2004/jdalbec/Makefile @@ -252,79 +252,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2004/kopczynski/Makefile b/2004/kopczynski/Makefile index 0c46143c6..4c213d126 100644 --- a/2004/kopczynski/Makefile +++ b/2004/kopczynski/Makefile @@ -242,79 +242,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2004/newbern/Makefile b/2004/newbern/Makefile index 7df27dedc..f97bb0273 100644 --- a/2004/newbern/Makefile +++ b/2004/newbern/Makefile @@ -239,79 +239,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2004/omoikane/Makefile b/2004/omoikane/Makefile index 7d730cef3..bb5691f99 100644 --- a/2004/omoikane/Makefile +++ b/2004/omoikane/Makefile @@ -235,79 +235,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2004/schnitzi/Makefile b/2004/schnitzi/Makefile index 4a0edaa6c..10612f69f 100644 --- a/2004/schnitzi/Makefile +++ b/2004/schnitzi/Makefile @@ -237,79 +237,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2004/sds/Makefile b/2004/sds/Makefile index 14b7b56d4..ba558ec0b 100644 --- a/2004/sds/Makefile +++ b/2004/sds/Makefile @@ -234,79 +234,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2004/vik1/Makefile b/2004/vik1/Makefile index 3cefbe7b0..f9bee6745 100644 --- a/2004/vik1/Makefile +++ b/2004/vik1/Makefile @@ -235,79 +235,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2004/vik2/Makefile b/2004/vik2/Makefile index 8ed4046d0..2e036ae9f 100644 --- a/2004/vik2/Makefile +++ b/2004/vik2/Makefile @@ -265,79 +265,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2005/Makefile b/2005/Makefile index 08fa5d756..7935da234 100644 --- a/2005/Makefile +++ b/2005/Makefile @@ -16,7 +16,7 @@ # ################################################################################ # -# This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved. +# This file is Copyright (c) 2024 by Landon Curt Noll. All Rights Reserved. # You are free to share and adapt this file under the terms of this license: # # Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) @@ -41,8 +41,10 @@ include ../var.mk # IOCCC entries ############### # -ENTRIES= aidan anon boutines chia giljade jetro klausler mikeash mynx persano \ - sykes timwi toledo vik vince +# BEGIN - DO NOT REMOVE THIS LINE - make new_entry uses this line # +ENTRIES= aidan anon boutines chia giljade jetro klausler mikeash \ + mynx persano sykes timwi toledo vik vince +# END - DO NOT REMOVE THIS LINE - make new_entry also uses this # YEAR= 2005 @@ -66,7 +68,7 @@ all: .PHONY: all alt data everything diff_orig_prog diff_prog_orig \ diff_alt_prog diff_prog_alt diff_orig_alt diff_alt_orig \ clean clobber install genpath love haste waste maker \ - easter_egg sandwich supernova deep_magic magic charon pluto + easter_egg sandwich supernova more_magic magic charon pluto # alternative executable # @@ -278,10 +280,22 @@ genpath: @echo '=-=-= IOCCC complete make $@ =-=-=' -################## -# 133t hacker rulz -################## +############################################################# +# NOTE: 'Don't Panic' if you don't understand the stuff below +############################################################# + +# add ${NEW_ENTRY} to the list of ${ENTRIES} and output Makefile lines to set updated ${ENTRIES} value # +new_entry: + @(echo 'ENTRIES= '; \ + (echo ${ENTRIES} ${NEW_ENTRY}) | ${TR} ' ' '\012' | ${SORT} -d -u) | \ + ${FMT} -p | ${SED} -e '2,$$s/^/\t/' -e 's/$$/ \\/' -e '$$s/ \\//' + + +################## +# 1337 hacker rulz +################## + love: @echo '=-=-= ${YEAR} begin make $@ =-=-=' @echo @@ -369,7 +383,7 @@ supernova: done @echo '=-=-= ${YEAR} complete make $@ =-=-=' -deep_magic: +more_magic: @echo '=-=-= ${YEAR} begin make $@ =-=-=' @echo @for i in ${ENTRIES}; do \ diff --git a/2005/aidan/Makefile b/2005/aidan/Makefile index b8d0734b8..d090a7090 100644 --- a/2005/aidan/Makefile +++ b/2005/aidan/Makefile @@ -241,79 +241,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2005/anon/Makefile b/2005/anon/Makefile index d21561127..f5b83a967 100644 --- a/2005/anon/Makefile +++ b/2005/anon/Makefile @@ -244,79 +244,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2005/boutines/Makefile b/2005/boutines/Makefile index 15978f25e..853448b65 100644 --- a/2005/boutines/Makefile +++ b/2005/boutines/Makefile @@ -236,79 +236,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2005/chia/Makefile b/2005/chia/Makefile index 861b63f60..1734cecf6 100644 --- a/2005/chia/Makefile +++ b/2005/chia/Makefile @@ -237,79 +237,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2005/giljade/Makefile b/2005/giljade/Makefile index 68446291d..a3d3523aa 100644 --- a/2005/giljade/Makefile +++ b/2005/giljade/Makefile @@ -247,79 +247,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2005/jetro/Makefile b/2005/jetro/Makefile index 03bd58e3e..385099db8 100644 --- a/2005/jetro/Makefile +++ b/2005/jetro/Makefile @@ -237,79 +237,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2005/klausler/Makefile b/2005/klausler/Makefile index 68217bb20..319640a45 100644 --- a/2005/klausler/Makefile +++ b/2005/klausler/Makefile @@ -258,79 +258,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2005/mikeash/Makefile b/2005/mikeash/Makefile index 9683c8ddf..d3b83e9a6 100644 --- a/2005/mikeash/Makefile +++ b/2005/mikeash/Makefile @@ -237,79 +237,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2005/mynx/Makefile b/2005/mynx/Makefile index 419c5ea0a..b3387fbbc 100644 --- a/2005/mynx/Makefile +++ b/2005/mynx/Makefile @@ -236,79 +236,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2005/persano/Makefile b/2005/persano/Makefile index 62307fbb0..0a488c96c 100644 --- a/2005/persano/Makefile +++ b/2005/persano/Makefile @@ -240,79 +240,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2005/sykes/Makefile b/2005/sykes/Makefile index fa262dac4..467b46a86 100644 --- a/2005/sykes/Makefile +++ b/2005/sykes/Makefile @@ -248,79 +248,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2005/timwi/Makefile b/2005/timwi/Makefile index a5502a9d2..b63381e9c 100644 --- a/2005/timwi/Makefile +++ b/2005/timwi/Makefile @@ -235,79 +235,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2005/toledo/Makefile b/2005/toledo/Makefile index 68672bf2a..190193912 100644 --- a/2005/toledo/Makefile +++ b/2005/toledo/Makefile @@ -243,79 +243,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2005/vik/Makefile b/2005/vik/Makefile index f184afb43..ac1eb28d8 100644 --- a/2005/vik/Makefile +++ b/2005/vik/Makefile @@ -235,79 +235,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2005/vince/Makefile b/2005/vince/Makefile index 4a08f9156..a32137a5c 100644 --- a/2005/vince/Makefile +++ b/2005/vince/Makefile @@ -240,79 +240,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2006/Makefile b/2006/Makefile index 700ec29f7..d979c7b0c 100644 --- a/2006/Makefile +++ b/2006/Makefile @@ -16,7 +16,7 @@ # ################################################################################ # -# This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved. +# This file is Copyright (c) 2024 by Landon Curt Noll. All Rights Reserved. # You are free to share and adapt this file under the terms of this license: # # Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) @@ -41,8 +41,10 @@ include ../var.mk # IOCCC entries ############### # -ENTRIES= birken borsanyi grothe hamre meyer monge night sloane stewart sykes1 \ - sykes2 toledo1 toledo2 toledo3 +# BEGIN - DO NOT REMOVE THIS LINE - make new_entry uses this line # +ENTRIES= birken borsanyi grothe hamre meyer monge night sloane \ + stewart sykes1 sykes2 toledo1 toledo2 toledo3 +# END - DO NOT REMOVE THIS LINE - make new_entry also uses this # YEAR= 2006 @@ -66,7 +68,7 @@ all: .PHONY: all alt data everything diff_orig_prog diff_prog_orig \ diff_alt_prog diff_prog_alt diff_orig_alt diff_alt_orig \ clean clobber install genpath love haste waste maker \ - easter_egg sandwich supernova deep_magic magic charon pluto + easter_egg sandwich supernova more_magic magic charon pluto # alternative executable # @@ -278,10 +280,22 @@ genpath: @echo '=-=-= IOCCC complete make $@ =-=-=' -################## -# 133t hacker rulz -################## +############################################################# +# NOTE: 'Don't Panic' if you don't understand the stuff below +############################################################# + +# add ${NEW_ENTRY} to the list of ${ENTRIES} and output Makefile lines to set updated ${ENTRIES} value # +new_entry: + @(echo 'ENTRIES= '; \ + (echo ${ENTRIES} ${NEW_ENTRY}) | ${TR} ' ' '\012' | ${SORT} -d -u) | \ + ${FMT} -p | ${SED} -e '2,$$s/^/\t/' -e 's/$$/ \\/' -e '$$s/ \\//' + + +################## +# 1337 hacker rulz +################## + love: @echo '=-=-= ${YEAR} begin make $@ =-=-=' @echo @@ -369,7 +383,7 @@ supernova: done @echo '=-=-= ${YEAR} complete make $@ =-=-=' -deep_magic: +more_magic: @echo '=-=-= ${YEAR} begin make $@ =-=-=' @echo @for i in ${ENTRIES}; do \ diff --git a/2006/birken/Makefile b/2006/birken/Makefile index 8c65a593d..b106ecf7e 100644 --- a/2006/birken/Makefile +++ b/2006/birken/Makefile @@ -239,79 +239,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2006/borsanyi/Makefile b/2006/borsanyi/Makefile index 962f0accd..1b0586642 100644 --- a/2006/borsanyi/Makefile +++ b/2006/borsanyi/Makefile @@ -234,79 +234,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2006/grothe/Makefile b/2006/grothe/Makefile index 61526de3b..36d69ace7 100644 --- a/2006/grothe/Makefile +++ b/2006/grothe/Makefile @@ -233,79 +233,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2006/hamre/Makefile b/2006/hamre/Makefile index 7a2af05f5..fdcf1e40b 100644 --- a/2006/hamre/Makefile +++ b/2006/hamre/Makefile @@ -235,79 +235,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2006/meyer/Makefile b/2006/meyer/Makefile index f5be54ed7..690fb6d9e 100644 --- a/2006/meyer/Makefile +++ b/2006/meyer/Makefile @@ -235,79 +235,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2006/monge/Makefile b/2006/monge/Makefile index 2a4bfa315..0c9a31c89 100644 --- a/2006/monge/Makefile +++ b/2006/monge/Makefile @@ -252,79 +252,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2006/night/Makefile b/2006/night/Makefile index 0e339f705..83ab4165c 100644 --- a/2006/night/Makefile +++ b/2006/night/Makefile @@ -242,79 +242,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2006/sloane/Makefile b/2006/sloane/Makefile index 8f7fb3bac..a9c18c6dd 100644 --- a/2006/sloane/Makefile +++ b/2006/sloane/Makefile @@ -245,79 +245,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2006/stewart/Makefile b/2006/stewart/Makefile index 5acf8a915..b9bc454f9 100644 --- a/2006/stewart/Makefile +++ b/2006/stewart/Makefile @@ -240,79 +240,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2006/sykes1/Makefile b/2006/sykes1/Makefile index 733855372..6247c501b 100644 --- a/2006/sykes1/Makefile +++ b/2006/sykes1/Makefile @@ -253,79 +253,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2006/sykes2/Makefile b/2006/sykes2/Makefile index dad9a16ac..dd76431fe 100644 --- a/2006/sykes2/Makefile +++ b/2006/sykes2/Makefile @@ -236,79 +236,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2006/toledo1/Makefile b/2006/toledo1/Makefile index 23becb92c..8b8152668 100644 --- a/2006/toledo1/Makefile +++ b/2006/toledo1/Makefile @@ -236,79 +236,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2006/toledo2/Makefile b/2006/toledo2/Makefile index a18dfb81e..a3e9f8fcf 100644 --- a/2006/toledo2/Makefile +++ b/2006/toledo2/Makefile @@ -251,79 +251,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2006/toledo3/Makefile b/2006/toledo3/Makefile index b4612242d..a7c7c2658 100644 --- a/2006/toledo3/Makefile +++ b/2006/toledo3/Makefile @@ -246,79 +246,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2011/Makefile b/2011/Makefile index b35416878..9a7debcc7 100644 --- a/2011/Makefile +++ b/2011/Makefile @@ -16,7 +16,7 @@ # ################################################################################ # -# This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved. +# This file is Copyright (c) 2024 by Landon Curt Noll. All Rights Reserved. # You are free to share and adapt this file under the terms of this license: # # Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) @@ -41,8 +41,10 @@ include ../var.mk # IOCCC entries ############### # -ENTRIES= akari blakely borsanyi dlowe eastman fredriksson goren hamaji hou \ - konno richards toledo vik zucker +# BEGIN - DO NOT REMOVE THIS LINE - make new_entry uses this line # +ENTRIES= akari blakely borsanyi dlowe eastman fredriksson goren \ + hamaji hou konno richards toledo vik zucker +# END - DO NOT REMOVE THIS LINE - make new_entry also uses this # YEAR= 2011 @@ -66,7 +68,7 @@ all: .PHONY: all alt data everything diff_orig_prog diff_prog_orig \ diff_alt_prog diff_prog_alt diff_orig_alt diff_alt_orig \ clean clobber install genpath love haste waste maker \ - easter_egg sandwich supernova deep_magic magic charon pluto + easter_egg sandwich supernova more_magic magic charon pluto # alternative executable # @@ -278,10 +280,22 @@ genpath: @echo '=-=-= IOCCC complete make $@ =-=-=' -################## -# 133t hacker rulz -################## +############################################################# +# NOTE: 'Don't Panic' if you don't understand the stuff below +############################################################# + +# add ${NEW_ENTRY} to the list of ${ENTRIES} and output Makefile lines to set updated ${ENTRIES} value # +new_entry: + @(echo 'ENTRIES= '; \ + (echo ${ENTRIES} ${NEW_ENTRY}) | ${TR} ' ' '\012' | ${SORT} -d -u) | \ + ${FMT} -p | ${SED} -e '2,$$s/^/\t/' -e 's/$$/ \\/' -e '$$s/ \\//' + + +################## +# 1337 hacker rulz +################## + love: @echo '=-=-= ${YEAR} begin make $@ =-=-=' @echo @@ -369,7 +383,7 @@ supernova: done @echo '=-=-= ${YEAR} complete make $@ =-=-=' -deep_magic: +more_magic: @echo '=-=-= ${YEAR} begin make $@ =-=-=' @echo @for i in ${ENTRIES}; do \ diff --git a/2011/akari/Makefile b/2011/akari/Makefile index fe8dfeaa0..a0516a7d7 100644 --- a/2011/akari/Makefile +++ b/2011/akari/Makefile @@ -260,79 +260,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2011/blakely/Makefile b/2011/blakely/Makefile index fb44e93a7..cf981160f 100644 --- a/2011/blakely/Makefile +++ b/2011/blakely/Makefile @@ -239,79 +239,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2011/borsanyi/Makefile b/2011/borsanyi/Makefile index 215af7916..43b0b8af9 100644 --- a/2011/borsanyi/Makefile +++ b/2011/borsanyi/Makefile @@ -236,79 +236,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2011/dlowe/Makefile b/2011/dlowe/Makefile index 84f7e477e..9c9d8c9c9 100644 --- a/2011/dlowe/Makefile +++ b/2011/dlowe/Makefile @@ -236,79 +236,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2011/eastman/Makefile b/2011/eastman/Makefile index 38b81cb1a..9f70244a0 100644 --- a/2011/eastman/Makefile +++ b/2011/eastman/Makefile @@ -235,79 +235,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2011/fredriksson/Makefile b/2011/fredriksson/Makefile index 994a41791..211f7d562 100644 --- a/2011/fredriksson/Makefile +++ b/2011/fredriksson/Makefile @@ -236,79 +236,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2011/goren/Makefile b/2011/goren/Makefile index 2c0825b61..d0c66cf7e 100644 --- a/2011/goren/Makefile +++ b/2011/goren/Makefile @@ -240,79 +240,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2011/hamaji/Makefile b/2011/hamaji/Makefile index 189e1e143..7b2b4e2c9 100644 --- a/2011/hamaji/Makefile +++ b/2011/hamaji/Makefile @@ -236,79 +236,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2011/hou/Makefile b/2011/hou/Makefile index 7c7c9614b..ddc5058af 100644 --- a/2011/hou/Makefile +++ b/2011/hou/Makefile @@ -235,79 +235,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2011/konno/Makefile b/2011/konno/Makefile index 41e545d92..5cf285420 100644 --- a/2011/konno/Makefile +++ b/2011/konno/Makefile @@ -235,79 +235,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2011/richards/Makefile b/2011/richards/Makefile index 45017ef45..0fd3c6423 100644 --- a/2011/richards/Makefile +++ b/2011/richards/Makefile @@ -236,79 +236,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2011/toledo/Makefile b/2011/toledo/Makefile index fccfed141..6d8a97f56 100644 --- a/2011/toledo/Makefile +++ b/2011/toledo/Makefile @@ -255,79 +255,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2011/vik/Makefile b/2011/vik/Makefile index 8a6311575..dc25459f5 100644 --- a/2011/vik/Makefile +++ b/2011/vik/Makefile @@ -233,79 +233,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2011/zucker/Makefile b/2011/zucker/Makefile index b3b12e9ba..2fe4e2da5 100644 --- a/2011/zucker/Makefile +++ b/2011/zucker/Makefile @@ -238,79 +238,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2012/Makefile b/2012/Makefile index 14c2d82e2..6d81f8a43 100644 --- a/2012/Makefile +++ b/2012/Makefile @@ -16,7 +16,7 @@ # ################################################################################ # -# This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved. +# This file is Copyright (c) 2024 by Landon Curt Noll. All Rights Reserved. # You are free to share and adapt this file under the terms of this license: # # Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) @@ -41,8 +41,10 @@ include ../var.mk # IOCCC entries ############### # -ENTRIES= blakely deckmyn dlowe endoh1 endoh2 grothe hamano \ - hou kang konno omoikane tromp vik zeitak +# BEGIN - DO NOT REMOVE THIS LINE - make new_entry uses this line # +ENTRIES= blakely deckmyn dlowe endoh1 endoh2 grothe hamano hou kang \ + konno omoikane tromp vik zeitak +# END - DO NOT REMOVE THIS LINE - make new_entry also uses this # YEAR= 2012 @@ -66,7 +68,7 @@ all: .PHONY: all alt data everything diff_orig_prog diff_prog_orig \ diff_alt_prog diff_prog_alt diff_orig_alt diff_alt_orig \ clean clobber install genpath love haste waste maker \ - easter_egg sandwich supernova deep_magic magic charon pluto + easter_egg sandwich supernova more_magic magic charon pluto # alternative executable # @@ -278,10 +280,22 @@ genpath: @echo '=-=-= IOCCC complete make $@ =-=-=' -################## -# 133t hacker rulz -################## +############################################################# +# NOTE: 'Don't Panic' if you don't understand the stuff below +############################################################# + +# add ${NEW_ENTRY} to the list of ${ENTRIES} and output Makefile lines to set updated ${ENTRIES} value # +new_entry: + @(echo 'ENTRIES= '; \ + (echo ${ENTRIES} ${NEW_ENTRY}) | ${TR} ' ' '\012' | ${SORT} -d -u) | \ + ${FMT} -p | ${SED} -e '2,$$s/^/\t/' -e 's/$$/ \\/' -e '$$s/ \\//' + + +################## +# 1337 hacker rulz +################## + love: @echo '=-=-= ${YEAR} begin make $@ =-=-=' @echo @@ -369,7 +383,7 @@ supernova: done @echo '=-=-= ${YEAR} complete make $@ =-=-=' -deep_magic: +more_magic: @echo '=-=-= ${YEAR} begin make $@ =-=-=' @echo @for i in ${ENTRIES}; do \ diff --git a/2012/blakely/Makefile b/2012/blakely/Makefile index ecd6827b3..24e58fcb1 100644 --- a/2012/blakely/Makefile +++ b/2012/blakely/Makefile @@ -238,79 +238,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2012/deckmyn/Makefile b/2012/deckmyn/Makefile index a04a645bc..b410708fd 100644 --- a/2012/deckmyn/Makefile +++ b/2012/deckmyn/Makefile @@ -236,79 +236,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2012/dlowe/Makefile b/2012/dlowe/Makefile index e11923714..4c320997d 100644 --- a/2012/dlowe/Makefile +++ b/2012/dlowe/Makefile @@ -234,79 +234,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2012/endoh1/Makefile b/2012/endoh1/Makefile index 99ba6ca0d..b291755ae 100644 --- a/2012/endoh1/Makefile +++ b/2012/endoh1/Makefile @@ -270,79 +270,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2012/endoh2/Makefile b/2012/endoh2/Makefile index e9e26f3fb..0cd9c0c68 100644 --- a/2012/endoh2/Makefile +++ b/2012/endoh2/Makefile @@ -397,79 +397,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2012/grothe/Makefile b/2012/grothe/Makefile index 81cbef12b..3342f2a5e 100644 --- a/2012/grothe/Makefile +++ b/2012/grothe/Makefile @@ -237,79 +237,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2012/hamano/Makefile b/2012/hamano/Makefile index c59f50ae1..b107205ee 100644 --- a/2012/hamano/Makefile +++ b/2012/hamano/Makefile @@ -274,79 +274,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2012/hou/Makefile b/2012/hou/Makefile index 85636364e..a9c0cbc50 100644 --- a/2012/hou/Makefile +++ b/2012/hou/Makefile @@ -242,79 +242,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2012/kang/Makefile b/2012/kang/Makefile index b14a563e3..f1278c769 100644 --- a/2012/kang/Makefile +++ b/2012/kang/Makefile @@ -235,79 +235,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2012/konno/Makefile b/2012/konno/Makefile index 96e91acb3..47de9e7af 100644 --- a/2012/konno/Makefile +++ b/2012/konno/Makefile @@ -240,79 +240,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2012/omoikane/Makefile b/2012/omoikane/Makefile index 41858414f..6ad746ce1 100644 --- a/2012/omoikane/Makefile +++ b/2012/omoikane/Makefile @@ -256,79 +256,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2012/tromp/Makefile b/2012/tromp/Makefile index ba6bdb8ba..d03756302 100644 --- a/2012/tromp/Makefile +++ b/2012/tromp/Makefile @@ -248,79 +248,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2012/vik/Makefile b/2012/vik/Makefile index a67214f60..3e688aadb 100644 --- a/2012/vik/Makefile +++ b/2012/vik/Makefile @@ -237,79 +237,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2012/zeitak/Makefile b/2012/zeitak/Makefile index 3ac5266a0..e120d838a 100644 --- a/2012/zeitak/Makefile +++ b/2012/zeitak/Makefile @@ -246,79 +246,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2013/Makefile b/2013/Makefile index 73a0d9862..b3a0eea39 100644 --- a/2013/Makefile +++ b/2013/Makefile @@ -16,7 +16,7 @@ # ################################################################################ # -# This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved. +# This file is Copyright (c) 2024 by Landon Curt Noll. All Rights Reserved. # You are free to share and adapt this file under the terms of this license: # # Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) @@ -41,8 +41,10 @@ include ../var.mk # IOCCC entries ############### # -ENTRIES= birken cable1 cable2 cable3 dlowe endoh1 endoh2 endoh3 endoh4 \ - hou mills misaka morgan1 morgan2 robison +# BEGIN - DO NOT REMOVE THIS LINE - make new_entry uses this line # +ENTRIES= birken cable1 cable2 cable3 dlowe endoh1 endoh2 endoh3 \ + endoh4 hou mills misaka morgan1 morgan2 robison +# END - DO NOT REMOVE THIS LINE - make new_entry also uses this # YEAR= 2013 @@ -66,7 +68,7 @@ all: .PHONY: all alt data everything diff_orig_prog diff_prog_orig \ diff_alt_prog diff_prog_alt diff_orig_alt diff_alt_orig \ clean clobber install genpath love haste waste maker \ - easter_egg sandwich supernova deep_magic magic charon pluto + easter_egg sandwich supernova more_magic magic charon pluto # alternative executable # @@ -278,10 +280,22 @@ genpath: @echo '=-=-= IOCCC complete make $@ =-=-=' -################## -# 133t hacker rulz -################## +############################################################# +# NOTE: 'Don't Panic' if you don't understand the stuff below +############################################################# + +# add ${NEW_ENTRY} to the list of ${ENTRIES} and output Makefile lines to set updated ${ENTRIES} value # +new_entry: + @(echo 'ENTRIES= '; \ + (echo ${ENTRIES} ${NEW_ENTRY}) | ${TR} ' ' '\012' | ${SORT} -d -u) | \ + ${FMT} -p | ${SED} -e '2,$$s/^/\t/' -e 's/$$/ \\/' -e '$$s/ \\//' + + +################## +# 1337 hacker rulz +################## + love: @echo '=-=-= ${YEAR} begin make $@ =-=-=' @echo @@ -369,7 +383,7 @@ supernova: done @echo '=-=-= ${YEAR} complete make $@ =-=-=' -deep_magic: +more_magic: @echo '=-=-= ${YEAR} begin make $@ =-=-=' @echo @for i in ${ENTRIES}; do \ diff --git a/2013/birken/Makefile b/2013/birken/Makefile index 7e055d110..02930f403 100644 --- a/2013/birken/Makefile +++ b/2013/birken/Makefile @@ -248,79 +248,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2013/cable1/Makefile b/2013/cable1/Makefile index 6764f9cd9..b8868c734 100644 --- a/2013/cable1/Makefile +++ b/2013/cable1/Makefile @@ -233,79 +233,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2013/cable2/Makefile b/2013/cable2/Makefile index 10a6ea7d3..5ef6be42d 100644 --- a/2013/cable2/Makefile +++ b/2013/cable2/Makefile @@ -239,79 +239,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2013/cable3/Makefile b/2013/cable3/Makefile index 7b6f26b97..ee1884121 100644 --- a/2013/cable3/Makefile +++ b/2013/cable3/Makefile @@ -251,79 +251,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2013/dlowe/Makefile b/2013/dlowe/Makefile index 3d764f989..f2410caef 100644 --- a/2013/dlowe/Makefile +++ b/2013/dlowe/Makefile @@ -236,79 +236,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2013/endoh1/Makefile b/2013/endoh1/Makefile index 7c237d9ef..81e4ad6c6 100644 --- a/2013/endoh1/Makefile +++ b/2013/endoh1/Makefile @@ -252,79 +252,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2013/endoh2/Makefile b/2013/endoh2/Makefile index 33a743f3a..7a2b9bb28 100644 --- a/2013/endoh2/Makefile +++ b/2013/endoh2/Makefile @@ -277,79 +277,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2013/endoh3/Makefile b/2013/endoh3/Makefile index 625491819..10b0ba825 100644 --- a/2013/endoh3/Makefile +++ b/2013/endoh3/Makefile @@ -236,79 +236,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2013/endoh4/Makefile b/2013/endoh4/Makefile index 326a70354..6d4b1759a 100644 --- a/2013/endoh4/Makefile +++ b/2013/endoh4/Makefile @@ -239,79 +239,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2013/hou/Makefile b/2013/hou/Makefile index b259cc89f..15efbb15c 100644 --- a/2013/hou/Makefile +++ b/2013/hou/Makefile @@ -248,79 +248,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2013/mills/Makefile b/2013/mills/Makefile index ecd00ab5f..15b03bdc5 100644 --- a/2013/mills/Makefile +++ b/2013/mills/Makefile @@ -242,79 +242,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2013/misaka/Makefile b/2013/misaka/Makefile index 174a3fb87..21a8f3ce7 100644 --- a/2013/misaka/Makefile +++ b/2013/misaka/Makefile @@ -314,79 +314,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2013/morgan1/Makefile b/2013/morgan1/Makefile index 7ac2dd83a..2602e3611 100644 --- a/2013/morgan1/Makefile +++ b/2013/morgan1/Makefile @@ -236,79 +236,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2013/morgan2/Makefile b/2013/morgan2/Makefile index dd882151e..509723d2e 100644 --- a/2013/morgan2/Makefile +++ b/2013/morgan2/Makefile @@ -236,79 +236,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2013/robison/Makefile b/2013/robison/Makefile index 58b52c337..b440f9794 100644 --- a/2013/robison/Makefile +++ b/2013/robison/Makefile @@ -237,79 +237,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2014/Makefile b/2014/Makefile index 6385f5fbb..6ba6d36c7 100644 --- a/2014/Makefile +++ b/2014/Makefile @@ -16,7 +16,7 @@ # ################################################################################ # -# This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved. +# This file is Copyright (c) 2024 by Landon Curt Noll. All Rights Reserved. # You are free to share and adapt this file under the terms of this license: # # Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) @@ -41,7 +41,10 @@ include ../var.mk # IOCCC entries ############### # -ENTRIES= birken deak endoh1 endoh2 maffiodo1 maffiodo2 morgan sinon skeggs vik wiedijk +# BEGIN - DO NOT REMOVE THIS LINE - make new_entry uses this line # +ENTRIES= birken deak endoh1 endoh2 maffiodo1 maffiodo2 morgan sinon \ + skeggs vik wiedijk +# END - DO NOT REMOVE THIS LINE - make new_entry also uses this # YEAR= 2014 @@ -65,7 +68,7 @@ all: .PHONY: all alt data everything diff_orig_prog diff_prog_orig \ diff_alt_prog diff_prog_alt diff_orig_alt diff_alt_orig \ clean clobber install genpath love haste waste maker \ - easter_egg sandwich supernova deep_magic magic charon pluto + easter_egg sandwich supernova more_magic magic charon pluto # alternative executable # @@ -277,10 +280,22 @@ genpath: @echo '=-=-= IOCCC complete make $@ =-=-=' -################## -# 133t hacker rulz -################## +############################################################# +# NOTE: 'Don't Panic' if you don't understand the stuff below +############################################################# + +# add ${NEW_ENTRY} to the list of ${ENTRIES} and output Makefile lines to set updated ${ENTRIES} value # +new_entry: + @(echo 'ENTRIES= '; \ + (echo ${ENTRIES} ${NEW_ENTRY}) | ${TR} ' ' '\012' | ${SORT} -d -u) | \ + ${FMT} -p | ${SED} -e '2,$$s/^/\t/' -e 's/$$/ \\/' -e '$$s/ \\//' + + +################## +# 1337 hacker rulz +################## + love: @echo '=-=-= ${YEAR} begin make $@ =-=-=' @echo @@ -368,7 +383,7 @@ supernova: done @echo '=-=-= ${YEAR} complete make $@ =-=-=' -deep_magic: +more_magic: @echo '=-=-= ${YEAR} begin make $@ =-=-=' @echo @for i in ${ENTRIES}; do \ diff --git a/2014/birken/Makefile b/2014/birken/Makefile index fcec43d89..ffcf060a5 100644 --- a/2014/birken/Makefile +++ b/2014/birken/Makefile @@ -246,79 +246,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2014/deak/Makefile b/2014/deak/Makefile index d7dff6b11..506d5d314 100644 --- a/2014/deak/Makefile +++ b/2014/deak/Makefile @@ -248,79 +248,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2014/endoh1/Makefile b/2014/endoh1/Makefile index a93a4655e..108bd6983 100644 --- a/2014/endoh1/Makefile +++ b/2014/endoh1/Makefile @@ -256,79 +256,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2014/endoh2/Makefile b/2014/endoh2/Makefile index 885a9bbd2..17fa336d3 100644 --- a/2014/endoh2/Makefile +++ b/2014/endoh2/Makefile @@ -234,79 +234,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2014/maffiodo1/Makefile b/2014/maffiodo1/Makefile index 236b01861..24014da26 100644 --- a/2014/maffiodo1/Makefile +++ b/2014/maffiodo1/Makefile @@ -246,79 +246,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2014/maffiodo2/Makefile b/2014/maffiodo2/Makefile index a9fe208ea..5576301f9 100644 --- a/2014/maffiodo2/Makefile +++ b/2014/maffiodo2/Makefile @@ -239,79 +239,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2014/morgan/Makefile b/2014/morgan/Makefile index 33a5e3ee0..a1f570674 100644 --- a/2014/morgan/Makefile +++ b/2014/morgan/Makefile @@ -237,79 +237,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2014/sinon/Makefile b/2014/sinon/Makefile index ca5ce6a6f..dd7541455 100644 --- a/2014/sinon/Makefile +++ b/2014/sinon/Makefile @@ -234,79 +234,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2014/skeggs/Makefile b/2014/skeggs/Makefile index 098488520..757d2b70a 100644 --- a/2014/skeggs/Makefile +++ b/2014/skeggs/Makefile @@ -238,79 +238,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2014/vik/Makefile b/2014/vik/Makefile index caca1ef02..431aefd0f 100644 --- a/2014/vik/Makefile +++ b/2014/vik/Makefile @@ -235,79 +235,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2014/wiedijk/Makefile b/2014/wiedijk/Makefile index 22b1734e6..8a194cb72 100644 --- a/2014/wiedijk/Makefile +++ b/2014/wiedijk/Makefile @@ -234,79 +234,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2015/Makefile b/2015/Makefile index c19e02150..9a1743038 100644 --- a/2015/Makefile +++ b/2015/Makefile @@ -16,7 +16,7 @@ # ################################################################################ # -# This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved. +# This file is Copyright (c) 2024 by Landon Curt Noll. All Rights Reserved. # You are free to share and adapt this file under the terms of this license: # # Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) @@ -41,7 +41,10 @@ include ../var.mk # IOCCC entries ############### # -ENTRIES= burton dogon duble endoh1 endoh2 endoh3 endoh4 hou howe mills1 mills2 muth schweikhardt yang +# BEGIN - DO NOT REMOVE THIS LINE - make new_entry uses this line # +ENTRIES= burton dogon duble endoh1 endoh2 endoh3 endoh4 hou howe \ + mills1 mills2 muth schweikhardt yang +# END - DO NOT REMOVE THIS LINE - make new_entry also uses this # YEAR= 2015 @@ -65,7 +68,7 @@ all: .PHONY: all alt data everything diff_orig_prog diff_prog_orig \ diff_alt_prog diff_prog_alt diff_orig_alt diff_alt_orig \ clean clobber install genpath love haste waste maker \ - easter_egg sandwich supernova deep_magic magic charon pluto + easter_egg sandwich supernova more_magic magic charon pluto # alternative executable # @@ -277,10 +280,22 @@ genpath: @echo '=-=-= IOCCC complete make $@ =-=-=' -################## -# 133t hacker rulz -################## +############################################################# +# NOTE: 'Don't Panic' if you don't understand the stuff below +############################################################# + +# add ${NEW_ENTRY} to the list of ${ENTRIES} and output Makefile lines to set updated ${ENTRIES} value # +new_entry: + @(echo 'ENTRIES= '; \ + (echo ${ENTRIES} ${NEW_ENTRY}) | ${TR} ' ' '\012' | ${SORT} -d -u) | \ + ${FMT} -p | ${SED} -e '2,$$s/^/\t/' -e 's/$$/ \\/' -e '$$s/ \\//' + + +################## +# 1337 hacker rulz +################## + love: @echo '=-=-= ${YEAR} begin make $@ =-=-=' @echo @@ -368,7 +383,7 @@ supernova: done @echo '=-=-= ${YEAR} complete make $@ =-=-=' -deep_magic: +more_magic: @echo '=-=-= ${YEAR} begin make $@ =-=-=' @echo @for i in ${ENTRIES}; do \ diff --git a/2015/burton/Makefile b/2015/burton/Makefile index 9fe988f89..e633a4534 100644 --- a/2015/burton/Makefile +++ b/2015/burton/Makefile @@ -255,79 +255,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2015/dogon/Makefile b/2015/dogon/Makefile index 73c858a6c..2675bb7f5 100644 --- a/2015/dogon/Makefile +++ b/2015/dogon/Makefile @@ -249,79 +249,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2015/duble/Makefile b/2015/duble/Makefile index c198ec8a5..2f761117f 100644 --- a/2015/duble/Makefile +++ b/2015/duble/Makefile @@ -243,79 +243,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2015/endoh1/Makefile b/2015/endoh1/Makefile index 1e00b3b46..02089094b 100644 --- a/2015/endoh1/Makefile +++ b/2015/endoh1/Makefile @@ -303,79 +303,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2015/endoh2/Makefile b/2015/endoh2/Makefile index 80f28db23..9d7e72d19 100644 --- a/2015/endoh2/Makefile +++ b/2015/endoh2/Makefile @@ -235,79 +235,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2015/endoh3/Makefile b/2015/endoh3/Makefile index e93550323..e6f6c6ccd 100644 --- a/2015/endoh3/Makefile +++ b/2015/endoh3/Makefile @@ -241,79 +241,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2015/endoh4/Makefile b/2015/endoh4/Makefile index 92f94c02e..3b5a3a96b 100644 --- a/2015/endoh4/Makefile +++ b/2015/endoh4/Makefile @@ -238,79 +238,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2015/hou/Makefile b/2015/hou/Makefile index 36d00d8dd..567973d19 100644 --- a/2015/hou/Makefile +++ b/2015/hou/Makefile @@ -242,79 +242,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2015/howe/Makefile b/2015/howe/Makefile index 765611d7a..166a11f1a 100644 --- a/2015/howe/Makefile +++ b/2015/howe/Makefile @@ -252,79 +252,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2015/mills1/Makefile b/2015/mills1/Makefile index b40afe4ca..01d1c7121 100644 --- a/2015/mills1/Makefile +++ b/2015/mills1/Makefile @@ -396,79 +396,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2015/mills2/Makefile b/2015/mills2/Makefile index 985a60d76..864ebb6a2 100644 --- a/2015/mills2/Makefile +++ b/2015/mills2/Makefile @@ -237,79 +237,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2015/muth/Makefile b/2015/muth/Makefile index d925ef14b..50ccfb8f8 100644 --- a/2015/muth/Makefile +++ b/2015/muth/Makefile @@ -251,79 +251,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2015/schweikhardt/Makefile b/2015/schweikhardt/Makefile index dc2903719..398b547f2 100644 --- a/2015/schweikhardt/Makefile +++ b/2015/schweikhardt/Makefile @@ -235,79 +235,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2015/yang/Makefile b/2015/yang/Makefile index 834d4069d..213bb3021 100644 --- a/2015/yang/Makefile +++ b/2015/yang/Makefile @@ -262,79 +262,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2018/Makefile b/2018/Makefile index 0988962eb..7060b30e6 100644 --- a/2018/Makefile +++ b/2018/Makefile @@ -16,7 +16,7 @@ # ################################################################################ # -# This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved. +# This file is Copyright (c) 2024 by Landon Curt Noll. All Rights Reserved. # You are free to share and adapt this file under the terms of this license: # # Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) @@ -41,8 +41,10 @@ include ../var.mk # IOCCC entries ############### # -ENTRIES= algmyr anderson bellard burton1 burton2 ciura endoh1 endoh2 ferguson \ - giles hou mills poikola vokes yang +# BEGIN - DO NOT REMOVE THIS LINE - make new_entry uses this line # +ENTRIES= algmyr anderson bellard burton1 burton2 ciura endoh1 endoh2 \ + ferguson giles hou mills poikola vokes yang +# END - DO NOT REMOVE THIS LINE - make new_entry also uses this # YEAR= 2018 @@ -66,7 +68,7 @@ all: .PHONY: all alt data everything diff_orig_prog diff_prog_orig \ diff_alt_prog diff_prog_alt diff_orig_alt diff_alt_orig \ clean clobber install genpath love haste waste maker \ - easter_egg sandwich supernova deep_magic magic charon pluto + easter_egg sandwich supernova more_magic magic charon pluto # alternative executable # @@ -278,10 +280,22 @@ genpath: @echo '=-=-= IOCCC complete make $@ =-=-=' -################## -# 133t hacker rulz -################## +############################################################# +# NOTE: 'Don't Panic' if you don't understand the stuff below +############################################################# + +# add ${NEW_ENTRY} to the list of ${ENTRIES} and output Makefile lines to set updated ${ENTRIES} value # +new_entry: + @(echo 'ENTRIES= '; \ + (echo ${ENTRIES} ${NEW_ENTRY}) | ${TR} ' ' '\012' | ${SORT} -d -u) | \ + ${FMT} -p | ${SED} -e '2,$$s/^/\t/' -e 's/$$/ \\/' -e '$$s/ \\//' + + +################## +# 1337 hacker rulz +################## + love: @echo '=-=-= ${YEAR} begin make $@ =-=-=' @echo @@ -369,7 +383,7 @@ supernova: done @echo '=-=-= ${YEAR} complete make $@ =-=-=' -deep_magic: +more_magic: @echo '=-=-= ${YEAR} begin make $@ =-=-=' @echo @for i in ${ENTRIES}; do \ diff --git a/2018/algmyr/Makefile b/2018/algmyr/Makefile index ea2368113..dd6ac81b0 100644 --- a/2018/algmyr/Makefile +++ b/2018/algmyr/Makefile @@ -239,79 +239,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2018/anderson/Makefile b/2018/anderson/Makefile index a50c72179..c354980fc 100644 --- a/2018/anderson/Makefile +++ b/2018/anderson/Makefile @@ -237,79 +237,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2018/bellard/Makefile b/2018/bellard/Makefile index 1b1a087e3..905ee890a 100644 --- a/2018/bellard/Makefile +++ b/2018/bellard/Makefile @@ -241,79 +241,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2018/burton1/Makefile b/2018/burton1/Makefile index b4bedc7c1..8189f7293 100644 --- a/2018/burton1/Makefile +++ b/2018/burton1/Makefile @@ -239,79 +239,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2018/burton2/Makefile b/2018/burton2/Makefile index 88174151c..9d3983d64 100644 --- a/2018/burton2/Makefile +++ b/2018/burton2/Makefile @@ -272,79 +272,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2018/ciura/Makefile b/2018/ciura/Makefile index 83c863539..fd7c4bad2 100644 --- a/2018/ciura/Makefile +++ b/2018/ciura/Makefile @@ -235,79 +235,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2018/endoh1/Makefile b/2018/endoh1/Makefile index b402ffac8..729f9ab9e 100644 --- a/2018/endoh1/Makefile +++ b/2018/endoh1/Makefile @@ -237,79 +237,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2018/endoh2/Makefile b/2018/endoh2/Makefile index 0c5a4fb19..29be0d0b3 100644 --- a/2018/endoh2/Makefile +++ b/2018/endoh2/Makefile @@ -248,79 +248,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2018/ferguson/Makefile b/2018/ferguson/Makefile index db874a4d4..e021f87be 100644 --- a/2018/ferguson/Makefile +++ b/2018/ferguson/Makefile @@ -264,79 +264,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2018/giles/Makefile b/2018/giles/Makefile index 650fbf3ae..ff39f0ebb 100644 --- a/2018/giles/Makefile +++ b/2018/giles/Makefile @@ -235,79 +235,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2018/hou/Makefile b/2018/hou/Makefile index f18ccfcca..592d36beb 100644 --- a/2018/hou/Makefile +++ b/2018/hou/Makefile @@ -236,79 +236,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2018/mills/Makefile b/2018/mills/Makefile index b93bfb094..44ee20080 100644 --- a/2018/mills/Makefile +++ b/2018/mills/Makefile @@ -323,79 +323,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2018/poikola/Makefile b/2018/poikola/Makefile index 9c9df9043..68eb3c0f3 100644 --- a/2018/poikola/Makefile +++ b/2018/poikola/Makefile @@ -244,79 +244,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2018/vokes/Makefile b/2018/vokes/Makefile index 4279a3a74..c8db296d0 100644 --- a/2018/vokes/Makefile +++ b/2018/vokes/Makefile @@ -235,79 +235,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2018/yang/Makefile b/2018/yang/Makefile index 16b4f37ca..0fc0d1d96 100644 --- a/2018/yang/Makefile +++ b/2018/yang/Makefile @@ -353,79 +353,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2019/Makefile b/2019/Makefile index 5ceb115cf..6dd66334e 100644 --- a/2019/Makefile +++ b/2019/Makefile @@ -16,7 +16,7 @@ # ################################################################################ # -# This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved. +# This file is Copyright (c) 2024 by Landon Curt Noll. All Rights Reserved. # You are free to share and adapt this file under the terms of this license: # # Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) @@ -41,7 +41,10 @@ include ../var.mk # IOCCC entries ############### # -ENTRIES= adamovsky burton ciura diels-grabsch1 diels-grabsch2 dogon duble endoh giles karns lynn mills poikola yang +# BEGIN - DO NOT REMOVE THIS LINE - make new_entry uses this line # +ENTRIES= adamovsky burton ciura diels-grabsch1 diels-grabsch2 dogon \ + duble endoh giles karns lynn mills poikola yang +# END - DO NOT REMOVE THIS LINE - make new_entry also uses this # YEAR= 2019 @@ -65,7 +68,7 @@ all: .PHONY: all alt data everything diff_orig_prog diff_prog_orig \ diff_alt_prog diff_prog_alt diff_orig_alt diff_alt_orig \ clean clobber install genpath love haste waste maker \ - easter_egg sandwich supernova deep_magic magic charon pluto + easter_egg sandwich supernova more_magic magic charon pluto # alternative executable # @@ -277,10 +280,22 @@ genpath: @echo '=-=-= IOCCC complete make $@ =-=-=' -################## -# 133t hacker rulz -################## +############################################################# +# NOTE: 'Don't Panic' if you don't understand the stuff below +############################################################# + +# add ${NEW_ENTRY} to the list of ${ENTRIES} and output Makefile lines to set updated ${ENTRIES} value # +new_entry: + @(echo 'ENTRIES= '; \ + (echo ${ENTRIES} ${NEW_ENTRY}) | ${TR} ' ' '\012' | ${SORT} -d -u) | \ + ${FMT} -p | ${SED} -e '2,$$s/^/\t/' -e 's/$$/ \\/' -e '$$s/ \\//' + + +################## +# 1337 hacker rulz +################## + love: @echo '=-=-= ${YEAR} begin make $@ =-=-=' @echo @@ -368,7 +383,7 @@ supernova: done @echo '=-=-= ${YEAR} complete make $@ =-=-=' -deep_magic: +more_magic: @echo '=-=-= ${YEAR} begin make $@ =-=-=' @echo @for i in ${ENTRIES}; do \ diff --git a/2019/adamovsky/Makefile b/2019/adamovsky/Makefile index 2e4dd1c44..2f9552496 100644 --- a/2019/adamovsky/Makefile +++ b/2019/adamovsky/Makefile @@ -253,79 +253,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2019/burton/Makefile b/2019/burton/Makefile index c97d907a6..cb453d8b8 100644 --- a/2019/burton/Makefile +++ b/2019/burton/Makefile @@ -248,79 +248,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2019/ciura/Makefile b/2019/ciura/Makefile index bf006a3cc..149a2e62e 100644 --- a/2019/ciura/Makefile +++ b/2019/ciura/Makefile @@ -237,79 +237,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2019/diels-grabsch1/Makefile b/2019/diels-grabsch1/Makefile index fde75b300..18d5ab7f2 100644 --- a/2019/diels-grabsch1/Makefile +++ b/2019/diels-grabsch1/Makefile @@ -234,79 +234,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2019/diels-grabsch2/Makefile b/2019/diels-grabsch2/Makefile index 0819e1515..1feb45b43 100644 --- a/2019/diels-grabsch2/Makefile +++ b/2019/diels-grabsch2/Makefile @@ -234,79 +234,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2019/dogon/Makefile b/2019/dogon/Makefile index cd65d0a4a..54e928a47 100644 --- a/2019/dogon/Makefile +++ b/2019/dogon/Makefile @@ -253,79 +253,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2019/duble/Makefile b/2019/duble/Makefile index e5904b1e7..04bd8dcdc 100644 --- a/2019/duble/Makefile +++ b/2019/duble/Makefile @@ -311,79 +311,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2019/endoh/Makefile b/2019/endoh/Makefile index 703fae306..b74c476da 100644 --- a/2019/endoh/Makefile +++ b/2019/endoh/Makefile @@ -244,79 +244,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2019/giles/Makefile b/2019/giles/Makefile index df7b23bf4..8ec9a590a 100644 --- a/2019/giles/Makefile +++ b/2019/giles/Makefile @@ -238,79 +238,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2019/karns/Makefile b/2019/karns/Makefile index 19db05fdf..c7a8e9b6d 100644 --- a/2019/karns/Makefile +++ b/2019/karns/Makefile @@ -257,79 +257,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2019/lynn/Makefile b/2019/lynn/Makefile index 251793da2..1cf8204c6 100644 --- a/2019/lynn/Makefile +++ b/2019/lynn/Makefile @@ -236,79 +236,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2019/mills/Makefile b/2019/mills/Makefile index 5f0915a21..592bc2ad7 100644 --- a/2019/mills/Makefile +++ b/2019/mills/Makefile @@ -427,79 +427,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2019/poikola/Makefile b/2019/poikola/Makefile index e186d8050..6dd094d0c 100644 --- a/2019/poikola/Makefile +++ b/2019/poikola/Makefile @@ -261,79 +261,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2019/yang/Makefile b/2019/yang/Makefile index f1cfefeb6..1cc45553f 100644 --- a/2019/yang/Makefile +++ b/2019/yang/Makefile @@ -235,79 +235,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2020/Makefile b/2020/Makefile index d4f092eb0..87eb2a4d7 100644 --- a/2020/Makefile +++ b/2020/Makefile @@ -16,7 +16,7 @@ # ################################################################################ # -# This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved. +# This file is Copyright (c) 2024 by Landon Curt Noll. All Rights Reserved. # You are free to share and adapt this file under the terms of this license: # # Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) @@ -41,8 +41,11 @@ include ../var.mk # IOCCC entries ############### # -ENTRIES= burton carlini endoh1 endoh2 endoh3 ferguson1 ferguson2 giles \ - kurdyukov1 kurdyukov2 kurdyukov3 kurdyukov4 otterness tsoj yang +# BEGIN - DO NOT REMOVE THIS LINE - make new_entry uses this line # +ENTRIES= burton carlini endoh1 endoh2 endoh3 ferguson1 ferguson2 \ + giles kurdyukov1 kurdyukov2 kurdyukov3 kurdyukov4 otterness tsoj \ + yang +# END - DO NOT REMOVE THIS LINE - make new_entry also uses this # YEAR= 2020 @@ -66,7 +69,7 @@ all: .PHONY: all alt data everything diff_orig_prog diff_prog_orig \ diff_alt_prog diff_prog_alt diff_orig_alt diff_alt_orig \ clean clobber install genpath love haste waste maker \ - easter_egg sandwich supernova deep_magic magic charon pluto + easter_egg sandwich supernova more_magic magic charon pluto # alternative executable # @@ -278,10 +281,22 @@ genpath: @echo '=-=-= IOCCC complete make $@ =-=-=' -################## -# 133t hacker rulz -################## +############################################################# +# NOTE: 'Don't Panic' if you don't understand the stuff below +############################################################# + +# add ${NEW_ENTRY} to the list of ${ENTRIES} and output Makefile lines to set updated ${ENTRIES} value # +new_entry: + @(echo 'ENTRIES= '; \ + (echo ${ENTRIES} ${NEW_ENTRY}) | ${TR} ' ' '\012' | ${SORT} -d -u) | \ + ${FMT} -p | ${SED} -e '2,$$s/^/\t/' -e 's/$$/ \\/' -e '$$s/ \\//' + + +################## +# 1337 hacker rulz +################## + love: @echo '=-=-= ${YEAR} begin make $@ =-=-=' @echo @@ -369,7 +384,7 @@ supernova: done @echo '=-=-= ${YEAR} complete make $@ =-=-=' -deep_magic: +more_magic: @echo '=-=-= ${YEAR} begin make $@ =-=-=' @echo @for i in ${ENTRIES}; do \ diff --git a/2020/burton/Makefile b/2020/burton/Makefile index 07a77c4ff..d2d9d542f 100644 --- a/2020/burton/Makefile +++ b/2020/burton/Makefile @@ -260,79 +260,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2020/carlini/Makefile b/2020/carlini/Makefile index 859d101c2..09d36053f 100644 --- a/2020/carlini/Makefile +++ b/2020/carlini/Makefile @@ -234,79 +234,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2020/endoh1/Makefile b/2020/endoh1/Makefile index d3390fea8..73fdb024b 100644 --- a/2020/endoh1/Makefile +++ b/2020/endoh1/Makefile @@ -239,79 +239,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2020/endoh2/Makefile b/2020/endoh2/Makefile index d65a68187..547f9b583 100644 --- a/2020/endoh2/Makefile +++ b/2020/endoh2/Makefile @@ -239,79 +239,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2020/endoh3/Makefile b/2020/endoh3/Makefile index df214af9a..1c17f7ab6 100644 --- a/2020/endoh3/Makefile +++ b/2020/endoh3/Makefile @@ -253,79 +253,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2020/ferguson1/Makefile b/2020/ferguson1/Makefile index f85f2df2d..91979e530 100644 --- a/2020/ferguson1/Makefile +++ b/2020/ferguson1/Makefile @@ -270,79 +270,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2020/ferguson2/Makefile b/2020/ferguson2/Makefile index 570c743c6..f58834865 100644 --- a/2020/ferguson2/Makefile +++ b/2020/ferguson2/Makefile @@ -246,79 +246,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2020/giles/Makefile b/2020/giles/Makefile index e34a5927e..872d9edc8 100644 --- a/2020/giles/Makefile +++ b/2020/giles/Makefile @@ -235,79 +235,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2020/kurdyukov1/Makefile b/2020/kurdyukov1/Makefile index e55797f2c..6ea4e4837 100644 --- a/2020/kurdyukov1/Makefile +++ b/2020/kurdyukov1/Makefile @@ -237,79 +237,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2020/kurdyukov2/Makefile b/2020/kurdyukov2/Makefile index 6dc55fd70..aaf41546d 100644 --- a/2020/kurdyukov2/Makefile +++ b/2020/kurdyukov2/Makefile @@ -245,79 +245,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2020/kurdyukov3/Makefile b/2020/kurdyukov3/Makefile index cac8fcb9f..07ced58b1 100644 --- a/2020/kurdyukov3/Makefile +++ b/2020/kurdyukov3/Makefile @@ -240,79 +240,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2020/kurdyukov4/Makefile b/2020/kurdyukov4/Makefile index 3b70e1082..ac5cf81ef 100644 --- a/2020/kurdyukov4/Makefile +++ b/2020/kurdyukov4/Makefile @@ -242,79 +242,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2020/otterness/Makefile b/2020/otterness/Makefile index 9cc95acc2..df7c68d73 100644 --- a/2020/otterness/Makefile +++ b/2020/otterness/Makefile @@ -238,79 +238,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2020/tsoj/Makefile b/2020/tsoj/Makefile index f3fedf526..b3a5c079e 100644 --- a/2020/tsoj/Makefile +++ b/2020/tsoj/Makefile @@ -236,79 +236,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/2020/yang/Makefile b/2020/yang/Makefile index 659b8f1ed..9edbb1399 100644 --- a/2020/yang/Makefile +++ b/2020/yang/Makefile @@ -242,79 +242,8 @@ indent.c: ${PROG}.c fi -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk diff --git a/Makefile b/Makefile index 129a1738e..848a5b18f 100644 --- a/Makefile +++ b/Makefile @@ -99,8 +99,7 @@ all: .PHONY: all alt data everything diff_orig_prog diff_prog_orig \ diff_alt_prog diff_prog_alt diff_orig_alt diff_alt_orig \ - clean clobber install genpath new_year genpath_top love haste waste maker \ - easter_egg sandwich supernova deep_magic magic charon pluto + clean clobber install genpath new_year genpath_top # alternative executable # @@ -771,7 +770,7 @@ update: # new_year: @(echo 'YEARS= '; \ - (echo ${YEARS} ${NEW_YEAR}) | ${TR} ' ' '\012' | ${SORT} -n) | \ + (echo ${YEARS} ${NEW_YEAR}) | ${TR} ' ' '\012' | ${SORT} -n -u) | \ ${FMT} -p | ${SED} -e '2,$$s/^/\t/' -e 's/$$/ \\/' -e '$$s/ \\//' # form the top level .top only @@ -793,10 +792,15 @@ genpath_top: @echo '=-=-=-=-= IOCCC complete make $@ =-=-=-=-=' +############################################################# +# NOTE: 'Don't Panic' if you don't understand the stuff below +############################################################# + + ################## -# 133t hacker rulz +# 1337 hacker rulz ################## -# + love: @echo '=-=-=-=-= IOCCC begin make $@ =-=-=-=-=' @-for i in ${YEARS}; do \ @@ -884,7 +888,7 @@ supernova: done @echo '=-=-=-=-= IOCCC complete make $@ =-=-=-=-=' -deep_magic: +more_magic: @echo '=-=-=-=-= IOCCC begin make $@ =-=-=-=-=' @-for i in ${YEARS}; do \ if [[ -f $$i/Makefile ]]; then \ diff --git a/bin/add-dir.sh b/bin/add-dir.sh index 999e621fa..babffac90 100755 --- a/bin/add-dir.sh +++ b/bin/add-dir.sh @@ -88,7 +88,7 @@ shopt -s globstar # enable ** to match all files and zero or more directories an # set variables referenced in the usage message # -export VERSION="1.0 2024-07-21" +export VERSION="1.1 2024-07-23" NAME=$(basename "$0") export NAME export V_FLAG=0 @@ -308,6 +308,28 @@ if [[ ! -w $YYYY_DIR ]]; then exit 7 fi + +# verify we have a non-empty readable Makefile +# +export MAKE_FILE="$YEAR_DIR/Makefile" +if [[ ! -e $MAKE_FILE ]]; then + echo "$0: ERROR: Makefile does not exist: $MAKE_FILE" 1>&2 + exit 6 +fi +if [[ ! -f $MAKE_FILE ]]; then + echo "$0: ERROR: Makefile is not a regular file: $MAKE_FILE" 1>&2 + exit 6 +fi +if [[ ! -r $MAKE_FILE ]]; then + echo "$0: ERROR: Makefile is not an readable file: $MAKE_FILE" 1>&2 + exit 6 +fi +if [[ ! -s $MAKE_FILE ]]; then + echo "$0: ERROR: Makefile is not a non-empty readable file: $MAKE_FILE" 1>&2 + exit 6 +fi + + # print running info if verbose # # If -v 3 or higher, print exported variables in order that they were exported. @@ -332,6 +354,7 @@ if [[ $V_FLAG -ge 3 ]]; then echo "$0: debug[3]: ENTRY_ID=$ENTRY_ID" 1>&2 echo "$0: debug[3]: DOT_YEAR=$DOT_YEAR" 1>&2 echo "$0: debug[3]: YYYY_DIR=$YYYY_DIR" 1>&2 + echo "$0: debug[3]: MAKE_FILE=$MAKE_FILE" 1>&2 fi # -N stops early before any processing is performed @@ -385,7 +408,7 @@ if [[ -z $NOOP ]]; then fi else echo "$0: ERROR: failed to add YYYY_DIR: $YYYY_DIR to: $DOT_YEAR" 1>&2 - exit 11 + exit 12 fi # case: with -n @@ -395,6 +418,87 @@ elif [[ $V_FLAG -ge 3 ]]; then fi +# create a temporary Makefile +# +export TMP_MAKEFILE=".tmp.$NAME.MAKEFILE.$$.tmp" +if [[ $V_FLAG -ge 3 ]]; then + echo "$0: debug[3]: temporary Makefile: $TMP_MAKEFILE" 1>&2 +fi +trap 'rm -f $TMP_MAKEFILE; exit' 0 1 2 3 15 +rm -f "$TMP_MAKEFILE" +if [[ -e $TMP_MAKEFILE ]]; then + echo "$0: ERROR: cannot remove temporary Makefile: $TMP_MAKEFILE" 1>&2 + exit 13 +fi +touch "$TMP_MAKEFILE" +if [[ ! -e $TMP_MAKEFILE ]]; then + echo "$0: ERROR: cannot create temporary Makefile: $TMP_MAKEFILE" 1>&2 + exit 14 +fi + + +# form the temporary Makefile with the added year +# +if [[ $V_FLAG -ge 3 ]]; then + echo "$0: debug[3]: forming temporary Makefile: $TMP_MAKEFILE" 1>&2 +fi +sed -n -e '1,/^# BEGIN - DO NOT REMOVE THIS LINE - make new_entry uses this line #/p' "$MAKE_FILE" > "$TMP_MAKEFILE" +make -C "$YEAR_DIR" new_entry NEW_ENTRY="$ENTRY_DIR" >> "$TMP_MAKEFILE" +status="$?" +if [[ $status -ne 0 ]]; then + echo "$0: ERROR: make -C $YEAR_DIR new_entry NEW_ENTRY=\"$ENTRY_DIR\" >> \"$TMP_MAKEFILE\" failed," \ + "error code: $status" 1>&2 + exit 15 +fi +sed -n -e '/^# END - DO NOT REMOVE THIS LINE - make new_entry also uses this #/,$p' "$MAKE_FILE" >> "$TMP_MAKEFILE" + + +# Update Makefile if is changes and not -n +# +if [[ -z $NOOP ]]; then + + if cmp -s "$TMP_MAKEFILE" "$MAKE_FILE"; then + + # case: Makefile did not change + # + if [[ $V_FLAG -ge 5 ]]; then + echo "$0: debug[5]: Makefile file did not change: $MAKE_FILE" 1>&2 + fi + + else + + # case: Makefile file changed, update the file + # + if [[ $V_FLAG -ge 5 ]]; then + echo "$0: debug[5]: about to: mv -f -- $TMP_MAKEFILE $MAKE_FILE" 1>&2 + fi + if [[ $V_FLAG -ge 3 ]]; then + mv -f -v -- "$TMP_MAKEFILE" "$MAKE_FILE" + status="$?" + else + mv -f -- "$TMP_MAKEFILE" "$MAKE_FILE" + status="$?" + fi + if [[ $status -ne 0 ]]; then + echo "$0: ERROR: mv -f -- $TMP_MAKEFILE $MAKE_FILE filed," \ + "error code: $status" 1>&2 + exit 16 + elif [[ $V_FLAG -ge 1 ]]; then + echo "$0: debug[1]: updated Makefile: $MAKE_FILE" 1>&2 + fi + if [[ ! -s $MAKE_FILE ]]; then + echo "$0: ERROR: not a non-empty Makefile: $MAKE_FILE" 1>&2 + exit 17 + fi + fi + +# case: with -n +# +elif [[ $V_FLAG -ge 3 ]]; then + echo "$0: debug[3]: -n disabled updating: $MAKE_FILE" 1>&2 +fi + + # All Done!!! All Done!!! -- Jessica Noll, Age 2 # exit 0 diff --git a/bin/new-year.sh b/bin/new-year.sh index 165ddc0f9..eabba575c 100755 --- a/bin/new-year.sh +++ b/bin/new-year.sh @@ -87,7 +87,7 @@ shopt -s globstar # enable ** to match all files and zero or more directories an # set variables referenced in the usage message # -export VERSION="1.3 2024-07-23" +export VERSION="1.3.1 2024-07-23" NAME=$(basename "$0") export NAME export V_FLAG=0 @@ -358,19 +358,19 @@ fi # export MAKE_FILE="Makefile" if [[ ! -e $MAKE_FILE ]]; then - echo "$0: ERROR: .top does not exist: $MAKE_FILE" 1>&2 + echo "$0: ERROR: Makefile does not exist: $MAKE_FILE" 1>&2 exit 6 fi if [[ ! -f $MAKE_FILE ]]; then - echo "$0: ERROR: .top is not a regular file: $MAKE_FILE" 1>&2 + echo "$0: ERROR: Makefile is not a regular file: $MAKE_FILE" 1>&2 exit 6 fi if [[ ! -r $MAKE_FILE ]]; then - echo "$0: ERROR: .top is not an readable file: $MAKE_FILE" 1>&2 + echo "$0: ERROR: Makefile is not an readable file: $MAKE_FILE" 1>&2 exit 6 fi if [[ ! -s $MAKE_FILE ]]; then - echo "$0: ERROR: .top is not a non-empty readable file: $MAKE_FILE" 1>&2 + echo "$0: ERROR: Makefile is not a non-empty readable file: $MAKE_FILE" 1>&2 exit 6 fi @@ -536,8 +536,7 @@ if [[ -e $TMP_MAKEFILE ]]; then echo "$0: ERROR: cannot remove temporary Makefile: $TMP_MAKEFILE" 1>&2 exit 18 fi -echo '# author_handle,entry_id,entry_id,entry_id,…,,,,,,,,,,,,,,,' > \ - "$TMP_MAKEFILE" +touch "$TMP_MAKEFILE" if [[ ! -e $TMP_MAKEFILE ]]; then echo "$0: ERROR: cannot create temporary Makefile: $TMP_MAKEFILE" 1>&2 exit 19 diff --git a/bin/tar-entry.sh b/bin/tar-entry.sh index 7ea0a6264..c17ec4a9c 100755 --- a/bin/tar-entry.sh +++ b/bin/tar-entry.sh @@ -83,7 +83,7 @@ shopt -s globstar # enable ** to match all files and zero or more directories an # set variables referenced in the usage message # -export VERSION="1.3.7 2024-07-22" +export VERSION="1.3.8 2024-07-23" NAME=$(basename "$0") export NAME export V_FLAG=0 @@ -379,7 +379,7 @@ if [[ ! -s $IOCCC_CSS ]]; then exit 6 fi -# verify we have non-empty readable ioccc.css file +# verify we have non-empty readable var.mk file # export VAR_MK="var.mk" if [[ ! -e $VAR_MK ]]; then @@ -399,6 +399,26 @@ if [[ ! -s $VAR_MK ]]; then exit 6 fi +# verify we have non-empty readable 1337.mk +# +export LEET_MK="1337.mk" +if [[ ! -e $LEET_MK ]]; then + echo "$0: ERROR: 1337.mk does not exist: $LEET_MK" 1>&2 + exit 6 +fi +if [[ ! -f $LEET_MK ]]; then + echo "$0: ERROR: 1337.mk is not a file: $LEET_MK" 1>&2 + exit 6 +fi +if [[ ! -r $LEET_MK ]]; then + echo "$0: ERROR: 1337.mk is not a readable file: $LEET_MK" 1>&2 + exit 6 +fi +if [[ ! -s $LEET_MK ]]; then + echo "$0: ERROR: 1337.mk is not a not a non-empty readable file: $LEET_MK" 1>&2 + exit 6 +fi + # determine the name of our tarball # # TARBALL - the same of the compressed tarball to verify and if needed re-build @@ -437,6 +457,7 @@ if [[ $V_FLAG -ge 3 ]]; then echo "$0: debug[3]: FILELIST_ENTRY_JSON_AWK=$FILELIST_ENTRY_JSON_AWK" 1>&2 echo "$0: debug[3]: IOCCC_CSS=$IOCCC_CSS" 1>&2 echo "$0: debug[3]: VAR_MK=$VAR_MK" 1>&2 + echo "$0: debug[3]: LEET_MK=$LEET_MK" 1>&2 echo "$0: debug[3]: TARBALL=$TARBALL" 1>&2 echo "$0: debug[3]: REBUILD_TARBALL=$REBUILD_TARBALL" 1>&2 fi @@ -563,6 +584,7 @@ if [[ -z $NOOP ]]; then fi echo "$IOCCC_CSS" >> "$TMP_MANIFEST_LIST" echo "$VAR_MK" >> "$TMP_MANIFEST_LIST" + echo "$LEET_MK" >> "$TMP_MANIFEST_LIST" LC_ALL=C sort -d "$TMP_MANIFEST_LIST" -o "$TMP_MANIFEST_LIST" status="$?" if [[ $status -ne 0 ]]; then diff --git a/bin/tar-year.sh b/bin/tar-year.sh index 61c2667b9..68db2b431 100755 --- a/bin/tar-year.sh +++ b/bin/tar-year.sh @@ -82,8 +82,8 @@ shopt -u extglob # enable extended globbing patterns shopt -s globstar # enable ** to match all files and zero or more directories and subdirectories # set variables referenced in the usage message -# -export VERSION="1.2.5 2024-07-22" + +export VERSION="1.2.6 2024-07-23" NAME=$(basename "$0") export NAME export V_FLAG=0 @@ -326,6 +326,26 @@ if [[ ! -s $VAR_MK ]]; then exit 6 fi +# verify we have non-empty readable 1337.mk +# +export LEET_MK="1337.mk" +if [[ ! -e $LEET_MK ]]; then + echo "$0: ERROR: 1337.mk does not exist: $LEET_MK" 1>&2 + exit 6 +fi +if [[ ! -f $LEET_MK ]]; then + echo "$0: ERROR: 1337.mk is not a file: $LEET_MK" 1>&2 + exit 6 +fi +if [[ ! -r $LEET_MK ]]; then + echo "$0: ERROR: 1337.mk is not a readable file: $LEET_MK" 1>&2 + exit 6 +fi +if [[ ! -s $LEET_MK ]]; then + echo "$0: ERROR: 1337.mk is not a not a non-empty readable file: $LEET_MK" 1>&2 + exit 6 +fi + # verify we have non-empty readable year level .filelist file # export FILELIST="$YYYY/.filelist" @@ -377,6 +397,7 @@ if [[ $V_FLAG -ge 3 ]]; then echo "$0: debug[3]: FILELIST_ENTRY_JSON_AWK=$FILELIST_ENTRY_JSON_AWK" 1>&2 echo "$0: debug[3]: IOCCC_CSS=$IOCCC_CSS" 1>&2 echo "$0: debug[3]: VAR_MK=$VAR_MK" 1>&2 + echo "$0: debug[3]: LEET_MK=$LEET_MK" 1>&2 echo "$0: debug[3]: FILELIST=$FILELIST" 1>&2 echo "$0: debug[3]: TARBALL=$TARBALL" 1>&2 echo "$0: debug[3]: REBUILD_TARBALL=$REBUILD_TARBALL" 1>&2 @@ -503,6 +524,7 @@ if [[ -z $NOOP ]]; then grep -F -v "$TARBALL" "$FILELIST" echo "$IOCCC_CSS" echo "$VAR_MK" + echo "$LEET_MK" } >> "$TMP_MANIFEST_LIST" # verify that YYYY is a readable directory diff --git a/template/Makefile.year b/template/Makefile.year index 2fafde2b5..8be8c4ee6 100644 --- a/template/Makefile.year +++ b/template/Makefile.year @@ -16,7 +16,7 @@ # ################################################################################ # -# This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved. +# This file is Copyright (c) %%YEAR%% by Landon Curt Noll. All Rights Reserved. # You are free to share and adapt this file under the terms of this license: # # Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) @@ -41,7 +41,9 @@ include ../var.mk # IOCCC entries ############### # +# BEGIN - DO NOT REMOVE THIS LINE - make add_dir uses this line # ENTRIES= +# END - DO NOT REMOVE THIS LINE - make add_dir also uses this # YEAR= %%YEAR%% @@ -64,8 +66,8 @@ all: .PHONY: all alt data everything diff_orig_prog diff_prog_orig \ diff_alt_prog diff_prog_alt diff_orig_alt diff_alt_orig \ - clean clobber install genpath love haste waste maker \ - easter_egg sandwich supernova deep_magic magic charon pluto + clean clobber install genpath add_dir love haste waste maker \ + easter_egg sandwich supernova more_magic magic charon pluto # alternative executable # @@ -278,8 +280,20 @@ genpath: @echo '=-=-= IOCCC complete make $@ =-=-=' +############################################################# +# NOTE: 'Don't Panic' if you don't understand the stuff below +############################################################# + +# add ${NEW_ENTRY} to the list of ${ENTRIES} and output Makefile lines to set updated ${ENTRIES} value +# +new_entry: + @(echo 'ENTRIES= '; \ + (echo ${ENTRIES} ${NEW_ENTRY}) | ${TR} ' ' '\012' | ${SORT} -d -u) | \ + ${FMT} -p | ${SED} -e '2,$$s/^/\t/' -e 's/$$/ \\/' -e '$$s/ \\//' + + ################## -# 133t hacker rulz +# 1337 hacker rulz ################## # love: @@ -369,7 +383,7 @@ supernova: done @echo '=-=-= ${YEAR} complete make $@ =-=-=' -deep_magic: +more_magic: @echo '=-=-= ${YEAR} begin make $@ =-=-=' @echo @for i in ${ENTRIES}; do \ diff --git a/template/Makefile.entry b/template/entry/Makefile.entry similarity index 60% rename from template/Makefile.entry rename to template/entry/Makefile.entry index 1f197232d..a6b147340 100644 --- a/template/Makefile.entry +++ b/template/entry/Makefile.entry @@ -12,6 +12,7 @@ # SHELL= bash + ####################### # common tool locations ####################### @@ -142,7 +143,7 @@ DATA= all: data ${TARGET} @${TRUE} -.PHONY: all data clean clobber +.PHONY: all data try clean clobber install # how to compile # @@ -158,9 +159,9 @@ data: ${DATA} # try: ${PROG} ${DATA} @# remove these comments - @# notice how we do not assume . is in the path + @# notice how we do not assume that . is a component of the $PATH environment variable @# change this next line as needed - echo ./${PROG} some arguments + ./${PROG} some arguments ############### @@ -169,14 +170,14 @@ try: ${PROG} ${DATA} # clean: ${RM} -f ${OBJ} - @-if [ -f indent.c ]; then \ + @-if [[ -f indent.c ]]; then \ echo ${RM} -f indent.c; \ ${RM} -f indent.c; \ fi clobber: clean ${RM} -f ${TARGET} - @-if [ -e sandwich ]; then \ + @-if [[ -e sandwich ]]; then \ ${RM} -f sandwich; \ echo 'ate sandwich'; \ fi @@ -207,81 +208,8 @@ indent.c: ${PROG}.c fi -# NOTE: Don't worry if you don't understand stuff below -# -################## -# 133t hacker rulz -################## -# -love: - @echo 'not war?' +###################################### +# optional include of 1337 hacker rulz +###################################### -waste: - @echo $@ - -haste: - ${MAKE} waste - -maker: haste - @echo 'Participate in a maker faire' - ${MAKE} love - -easter_egg: maker - @echo "You are expected to often misunderstand this $${RANDOM} magic, Eggy!" - @echo "chongo '' /\\oo/\\" - @echo "p.s.: Careful with That Axe, Eugene!" - -sandwich: easter_egg - @if [ `id -u` -eq 0 ]; then \ - echo 'Okay.'; \ - echo "$${RANDOM}`date +%s`$${RANDOM}" > $@; \ - else \ - echo 'What? Make it yourself.'; \ - echo "Did you forget the magic word?"; \ - fi - -# Understand the history of the Homebrew Computer Club -# as well as the West Coast Computer Faire and -# you might be confused different. :-) -# -supernova: sandwich - @-if [ -r .code_anal ]; then \ - ${RM} -f .code_anal_v6; \ - else \ - echo "Planet deniers, like some members of the IAU, are so cute when they try to defend their logic"; \ - fi - @echo "A $@ helps ${MAKE} the elements that help form planets" - -deep_magic: supernova - @-if [ -r .code_anal ]; then \ - ccode_analysis --deep_magic 7889066cdbdf09b0408021754586e895be641cc9be29e7eafd3ca65359541f17 \ - --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - sleep 1; \ - echo "Wrong! Do it again!"; \ - fi - -magic: deep_magic - @-if [ -r .code_anal ]; then \ - ccode_analysis --level 20003 --mode 5717175 --FNV1a_hash_512_bit -v2 "${PROG}" "${PROG}.c"; \ - else \ - echo "If you don't eat yer meat, you can't have any pudding!"; \ - echo "How can you have any pudding if you don't eat yer meat?!"; \ - fi - -# The IOCCC resident astronomer states -# -charon: magic - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore IAU, $@ is a planet" - -pluto: charon - @echo "See https://www.hou.usra.edu/meetings/lpsc2017/pdf/1448.pdf for a good definition of a planet" - @echo "$@ is a dwarf planet" - @echo "Dwarf planets are a type of planet" - @echo "Therefore, $@ is a planet" - @echo "The geophysical definition of planet gives us ~110 planets in our solar system" +-include 1337.mk ../1337.mk ../../1337.mk