Skip to content

Commit 0aef1f7

Browse files
committed
Clean up and test make clean
1 parent ebed203 commit 0aef1f7

2 files changed

Lines changed: 5 additions & 8 deletions

File tree

.travis.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,5 @@ arm32)
2222
esac
2323

2424
$LOADER make check
25+
26+
make clean && git status --ignored --porcelain && test -z "$(git status --ignored --porcelain)"

Makefile

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -51,14 +51,9 @@ test/test-float: libopenlibm.$(SHLIB_EXT)
5151
$(MAKE) -C test test-float
5252

5353
clean:
54-
@for dir in $(SUBDIRS) .; do \
55-
rm -fr $$dir/*.o $$dir/*.a $$dir/*.$(SHLIB_EXT)*; \
56-
done
57-
@rm -f test/test-double test/test-float
58-
59-
distclean:
60-
-rm -f $(OBJS) *.a *.$(SHLIB_EXT) libopenlibm.*
61-
-$(MAKE) -C test clean
54+
rm -f amd64/*.o arm/*.o bsdsrc/*.o i387/*.o ld128/*.o ld80/*.o src/*.o
55+
rm -f libopenlibm.a libopenlibm.$(SHLIB_EXT)*
56+
$(MAKE) -C test clean
6257

6358
openlibm.pc: openlibm.pc.in Make.inc Makefile
6459
echo "prefix=${prefix}" > openlibm.pc

0 commit comments

Comments
 (0)