trim Makefile whitespace and fix spaces before tabs
This commit is contained in:
1 parent
13c55ff688
commit
58574544da
7 files changed
+15
-18
No files matched your search
+1
-1
@@ -59,7 +59,7 @@ ARCH=
|
||||
|
||||
# Defines that are needed to compile
|
||||
#
|
||||
CDEFINE=
|
||||
CDEFINE=
|
||||
|
||||
# Include files that are needed to compile
|
||||
#
|
||||
|
||||
@@ -75,9 +75,6 @@ CFLAGS= ${CSTD} ${CWARN} ${ARCH} ${CDEFINE} ${CINCLUDE} ${OPT}
|
||||
#
|
||||
CINCLUDE+= -include stdlib.h
|
||||
|
||||
|
||||
## FORCE
|
||||
|
||||
# Libraries needed to build
|
||||
#
|
||||
LIBS=
|
||||
|
||||
@@ -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]*'
|
||||
|
||||
|
||||
|
||||
+10
-10
@@ -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
|
||||
#
|
||||
|
||||
+1
-1
@@ -111,7 +111,7 @@ ENTRY= dlowe
|
||||
PROG= ${ENTRY}
|
||||
#
|
||||
OBJ= ${PROG}.o
|
||||
DATA= earlystop.pl
|
||||
DATA= earlystop.pl
|
||||
TARGET= ${PROG}
|
||||
#
|
||||
ALT_OBJ=
|
||||
|
||||
@@ -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
|
||||
#
|
||||
|
||||
+1
-1
@@ -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; \
|
||||
|
||||
Reference in new issue
Block a user