trim Makefile whitespace and fix spaces before tabs
This commit is contained in:
1 parent
13c55ff688
commit
58574544da
4 files changed
+12
-15
No files matched your search
@@ -75,9 +75,6 @@ CFLAGS= ${CSTD} ${CWARN} ${ARCH} ${CDEFINE} ${CINCLUDE} ${OPT}
|
|||||||
#
|
#
|
||||||
CINCLUDE+= -include stdlib.h
|
CINCLUDE+= -include stdlib.h
|
||||||
|
|
||||||
|
|
||||||
## FORCE
|
|
||||||
|
|
||||||
# Libraries needed to build
|
# Libraries needed to build
|
||||||
#
|
#
|
||||||
LIBS=
|
LIBS=
|
||||||
|
|||||||
@@ -117,7 +117,7 @@ ALT_OBJ=
|
|||||||
ALT_TARGET=
|
ALT_TARGET=
|
||||||
|
|
||||||
NOINCLUDE= ${SED} -e 's/^.\([ ]*\)include/%include/'
|
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]*'
|
CPPCLEAN= ${GREP} -v '^. [0-9][0-9]*'
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
+10
-10
@@ -138,20 +138,20 @@ ${PROG}: dict.h ${PROG}.c
|
|||||||
dict.h:
|
dict.h:
|
||||||
${RM} -f $@
|
${RM} -f $@
|
||||||
dict="";\
|
dict="";\
|
||||||
for f in mydict ${DICTIONARY};\
|
for f in mydict ${DICTIONARY};\
|
||||||
do if [ -r $$f ]; then dict="$$dict $$f"; fi; \
|
do if [ -r $$f ]; then dict="$$dict $$f"; fi; \
|
||||||
done; \
|
done; \
|
||||||
if [ ".$$dict" = . ]; then \
|
if [ ".$$dict" = . ]; then \
|
||||||
echo no dictionary found; \
|
echo no dictionary found; \
|
||||||
exit 1; \
|
exit 1; \
|
||||||
fi; \
|
fi; \
|
||||||
${CAT} $$dict | \
|
${CAT} $$dict | \
|
||||||
${TR} -cd 'A-Za-z\n' | \
|
${TR} -cd 'A-Za-z\n' | \
|
||||||
${TR} A-Z a-z | \
|
${TR} A-Z a-z | \
|
||||||
${GREP} -E -v '^[^ais]$$' | \
|
${GREP} -E -v '^[^ais]$$' | \
|
||||||
${SORT} | \
|
${SORT} | \
|
||||||
${UNIQ} | \
|
${UNIQ} | \
|
||||||
${SED} 's/^/"/;s/$$/",/' > $@
|
${SED} 's/^/"/;s/$$/",/' > $@
|
||||||
|
|
||||||
# alternative executable
|
# alternative executable
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -191,7 +191,7 @@ oregonator: ${CSRC}
|
|||||||
${CC} ${CFLAGS} -o $@ ${CSRC} \
|
${CC} ${CFLAGS} -o $@ ${CSRC} \
|
||||||
${OREGONATOR_MODEL} -DDu=0.01 -DDv=0.01 -DE=0.1 -DF=1.4 -DQ=0.002 \
|
${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 \
|
-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
|
# alternative executable
|
||||||
#
|
#
|
||||||
|
|||||||
Reference in new issue
Block a user