From 58574544da5e74a3434d11fa324e745aa1b5752c Mon Sep 17 00:00:00 2001 From: Landon Curt Noll Date: Sun, 26 Mar 2023 22:22:16 -0700 Subject: [PATCH] trim Makefile whitespace and fix spaces before tabs --- 1984/decot/Makefile | 2 +- 1989/robison/Makefile | 3 --- 1992/buzzard.1/Makefile | 2 +- 2005/klausler/Makefile | 20 ++++++++++---------- 2011/dlowe/Makefile | 2 +- 2015/endoh1/Makefile | 2 +- 2018/mills/Makefile | 2 +- 7 files changed, 15 insertions(+), 18 deletions(-) diff --git a/1984/decot/Makefile b/1984/decot/Makefile index 99ccd22ac..d03da3302 100644 --- a/1984/decot/Makefile +++ b/1984/decot/Makefile @@ -59,7 +59,7 @@ ARCH= # Defines that are needed to compile # -CDEFINE= +CDEFINE= # Include files that are needed to compile # diff --git a/1989/robison/Makefile b/1989/robison/Makefile index d7173c132..c7201383b 100644 --- a/1989/robison/Makefile +++ b/1989/robison/Makefile @@ -75,9 +75,6 @@ CFLAGS= ${CSTD} ${CWARN} ${ARCH} ${CDEFINE} ${CINCLUDE} ${OPT} # CINCLUDE+= -include stdlib.h - -## FORCE - # Libraries needed to build # LIBS= diff --git a/1992/buzzard.1/Makefile b/1992/buzzard.1/Makefile index 041448821..84376417c 100644 --- a/1992/buzzard.1/Makefile +++ b/1992/buzzard.1/Makefile @@ -117,7 +117,7 @@ ALT_OBJ= ALT_TARGET= NOINCLUDE= ${SED} -e 's/^.\([ ]*\)include/%include/' -SPACECLEAN= ${SED} -e 's/\([^ ]\)\([ ]\)[ ][ ]*/\1\2/g' +SPACECLEAN= ${SED} -e 's/\([^ ]\)\([ ]\)[ ][ ]*/\1\2/g' CPPCLEAN= ${GREP} -v '^. [0-9][0-9]*' diff --git a/2005/klausler/Makefile b/2005/klausler/Makefile index 61960f31d..7eb25abe7 100644 --- a/2005/klausler/Makefile +++ b/2005/klausler/Makefile @@ -138,20 +138,20 @@ ${PROG}: dict.h ${PROG}.c dict.h: ${RM} -f $@ dict="";\ - for f in mydict ${DICTIONARY};\ - do if [ -r $$f ]; then dict="$$dict $$f"; fi; \ + for f in mydict ${DICTIONARY};\ + do if [ -r $$f ]; then dict="$$dict $$f"; fi; \ done; \ - if [ ".$$dict" = . ]; then \ + if [ ".$$dict" = . ]; then \ echo no dictionary found; \ exit 1; \ fi; \ - ${CAT} $$dict | \ - ${TR} -cd 'A-Za-z\n' | \ - ${TR} A-Z a-z | \ - ${GREP} -E -v '^[^ais]$$' | \ - ${SORT} | \ - ${UNIQ} | \ - ${SED} 's/^/"/;s/$$/",/' > $@ + ${CAT} $$dict | \ + ${TR} -cd 'A-Za-z\n' | \ + ${TR} A-Z a-z | \ + ${GREP} -E -v '^[^ais]$$' | \ + ${SORT} | \ + ${UNIQ} | \ + ${SED} 's/^/"/;s/$$/",/' > $@ # alternative executable # diff --git a/2011/dlowe/Makefile b/2011/dlowe/Makefile index ca87ae17b..510918922 100644 --- a/2011/dlowe/Makefile +++ b/2011/dlowe/Makefile @@ -111,7 +111,7 @@ ENTRY= dlowe PROG= ${ENTRY} # OBJ= ${PROG}.o -DATA= earlystop.pl +DATA= earlystop.pl TARGET= ${PROG} # ALT_OBJ= diff --git a/2015/endoh1/Makefile b/2015/endoh1/Makefile index ac4334386..e6def6267 100644 --- a/2015/endoh1/Makefile +++ b/2015/endoh1/Makefile @@ -191,7 +191,7 @@ oregonator: ${CSRC} ${CC} ${CFLAGS} -o $@ ${CSRC} \ ${OREGONATOR_MODEL} -DDu=0.01 -DDv=0.01 -DE=0.1 -DF=1.4 -DQ=0.002 \ -DUV_BACKGROUND=0 -DUV_DROP=0.05,0.2 \ - -DTIMESTEP=0.001 -DSPEED=80 -DRGB=128:192:255 ${LIBS} + -DTIMESTEP=0.001 -DSPEED=80 -DRGB=128:192:255 ${LIBS} # alternative executable # diff --git a/2018/mills/Makefile b/2018/mills/Makefile index 7cfaab202..684705808 100644 --- a/2018/mills/Makefile +++ b/2018/mills/Makefile @@ -216,7 +216,7 @@ clean: clobber: clean ${RM} -f ${TARGET} ${ALT_TARGET} - ${RM} -f builddisk.bsd builddisk.v6 v0 rk05.bsd.fs rk05.v6.fs + ${RM} -f builddisk.bsd builddisk.v6 v0 rk05.bsd.fs rk05.v6.fs ${RM} -f empty.fs.bz2 empty.fs v6.fs v6.img.bz2 v0.img v6.tape @-if [ -e sandwich ]; then \ ${RM} -f sandwich; \