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
|
# Defines that are needed to compile
|
||||||
#
|
#
|
||||||
CDEFINE=
|
CDEFINE=
|
||||||
|
|
||||||
# Include files that are needed to compile
|
# Include files that are needed to compile
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -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
|
||||||
#
|
#
|
||||||
|
|||||||
+1
-1
@@ -111,7 +111,7 @@ ENTRY= dlowe
|
|||||||
PROG= ${ENTRY}
|
PROG= ${ENTRY}
|
||||||
#
|
#
|
||||||
OBJ= ${PROG}.o
|
OBJ= ${PROG}.o
|
||||||
DATA= earlystop.pl
|
DATA= earlystop.pl
|
||||||
TARGET= ${PROG}
|
TARGET= ${PROG}
|
||||||
#
|
#
|
||||||
ALT_OBJ=
|
ALT_OBJ=
|
||||||
|
|||||||
@@ -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
|
||||||
#
|
#
|
||||||
|
|||||||
+1
-1
@@ -216,7 +216,7 @@ clean:
|
|||||||
|
|
||||||
clobber: clean
|
clobber: clean
|
||||||
${RM} -f ${TARGET} ${ALT_TARGET}
|
${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
|
${RM} -f empty.fs.bz2 empty.fs v6.fs v6.img.bz2 v0.img v6.tape
|
||||||
@-if [ -e sandwich ]; then \
|
@-if [ -e sandwich ]; then \
|
||||||
${RM} -f sandwich; \
|
${RM} -f sandwich; \
|
||||||
|
|||||||
Reference in new issue
Block a user