Commit 79d17619 authored by Ralph Giles's avatar Ralph Giles

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.
parent 3857c426
...@@ -143,11 +143,15 @@ ${SEEKING_EXAMPLE_TARGET}: ${SEEKING_EXAMPLE_OBJS} ${LIBOPUSFILE_TARGET} ...@@ -143,11 +143,15 @@ ${SEEKING_EXAMPLE_TARGET}: ${SEEKING_EXAMPLE_OBJS} ${LIBOPUSFILE_TARGET}
${CC} ${CFLAGS} ${SEEKING_EXAMPLE_OBJS} ${LIBOPUSFILE_TARGET} ${LIBS} \ ${CC} ${CFLAGS} ${SEEKING_EXAMPLE_OBJS} ${LIBOPUSFILE_TARGET} ${LIBS} \
-o $@ -o $@
#TODO: tests #TODO:
# foo #tests: foo
#
#${FOO_TARGET}: ${FOO_OBJS} #${FOO_TARGET}: ${FOO_OBJS}
# mkdir -p ${TESTBINDIR} # mkdir -p ${TESTBINDIR}
# ${CC} ${CFLAGS} ${FOO_OBJS} ${FOO_LIBS} -o $@ # ${CC} ${CFLAGS} ${FOO_OBJS} ${FOO_LIBS} -o $@
#
#tests-clean:
# -rmdir ${TESTBINDIR}
# Assembly listing # Assembly listing
ALL_ASM := ${ALL_OBJS:%.o=%.s} ALL_ASM := ${ALL_OBJS:%.o=%.s}
...@@ -155,14 +159,12 @@ asm: ${ALL_ASM} ...@@ -155,14 +159,12 @@ asm: ${ALL_ASM}
# Check that build is complete. # Check that build is complete.
check: all check: all
#TODO: tests
# ${FOO_TARGET}
# Remove all targets. # Remove all targets.
clean: clean:
${RM} ${ALL_ASM} ${ALL_OBJS} ${ALL_DEPS} ${RM} ${ALL_ASM} ${ALL_OBJS} ${ALL_DEPS}
${RM} ${ALL_TARGETS} ${RM} ${ALL_TARGETS}
-rmdir ${TESTBINDIR} ${WORKDIR}/tests ${WORKDIR}/x86 ${WORKDIR} -rmdir ${WORKDIR}
# Make everything depend on changes in the Makefile # Make everything depend on changes in the Makefile
${ALL_ASM} ${ALL_OBJS} ${ALL_DEPS} ${ALL_TARGETS} : Makefile ${ALL_ASM} ${ALL_OBJS} ${ALL_DEPS} ${ALL_TARGETS} : Makefile
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment