Clean generated *.su file and gitignore them

This commit is contained in:
Manuel Pégourié-Gonnard 2019-07-30 14:59:54 +02:00
parent d64a2f72e6
commit 80eaddfc36
4 changed files with 9 additions and 5 deletions

3
.gitignore vendored
View File

@ -22,6 +22,9 @@ Coverage
# generated by scripts/memory.sh
massif-*
# scripts/baremetal.sh --ram build artefacts:
*.su
# MSVC build artifacts:
*.exe
*.pdb

View File

@ -200,7 +200,7 @@ libmbedcrypto.dll: $(OBJS_CRYPTO)
clean:
ifndef WINDOWS
rm -f *.o libmbed*
rm -f *.o *.su libmbed*
else
del /Q /F *.o libmbed*
del /Q /F *.o *.su libmbed*
endif

View File

@ -298,8 +298,9 @@ ifndef WINDOWS
rm -f $(APPS)
-rm -f ssl/ssl_pthread_server$(EXEXT)
-rm -f test/cpp_dummy_build$(EXEXT)
-rm -f *.su
else
del /S /Q /F *.o *.exe
del /S /Q /F *.o *.su *.exe
endif
list:

View File

@ -114,9 +114,9 @@ $(BINARIES): %$(EXEXT): %.c $(DEP)
clean:
ifndef WINDOWS
rm -rf $(BINARIES) *.c *.datax TESTS
rm -rf $(BINARIES) *.c *.su *.datax TESTS
else
del /Q /F *.c *.exe *.datax
del /Q /F *.c *.su *.exe *.datax
ifneq ($(wildcard TESTS/.*),)
rmdir /Q /S TESTS
endif