ref: 79d17619d120c4b45f831d9a466cbb6749a5feaa
parent: 3857c4269723d65915d062d0c8a38521ace56d8f
author: Ralph Giles <giles@mozilla.com>
date: Fri Mar 1 08:37:36 EST 2013
Don't remove unused test directories. Reduces cruft on 'make clean'. I've rearranged some of the non-functional self-test targets, but not really fixed them.
--- a/unix/Makefile
+++ b/unix/Makefile
@@ -143,11 +143,15 @@
${CC} ${CFLAGS} ${SEEKING_EXAMPLE_OBJS} ${LIBOPUSFILE_TARGET} ${LIBS} \
-o $@
-#TODO: tests
-# foo
+#TODO:
+#tests: foo
+#
#${FOO_TARGET}: ${FOO_OBJS}
# mkdir -p ${TESTBINDIR}
# ${CC} ${CFLAGS} ${FOO_OBJS} ${FOO_LIBS} -o $@
+#
+#tests-clean:
+# -rmdir ${TESTBINDIR}
# Assembly listing
ALL_ASM := ${ALL_OBJS:%.o=%.s}
@@ -155,14 +159,12 @@
# Check that build is complete.
check: all
-#TODO: tests
-# ${FOO_TARGET}
# Remove all targets.
clean:
${RM} ${ALL_ASM} ${ALL_OBJS} ${ALL_DEPS}
${RM} ${ALL_TARGETS}
- -rmdir ${TESTBINDIR} ${WORKDIR}/tests ${WORKDIR}/x86 ${WORKDIR}
+ -rmdir ${WORKDIR}
# Make everything depend on changes in the Makefile
${ALL_ASM} ${ALL_OBJS} ${ALL_DEPS} ${ALL_TARGETS} : Makefile