[Cryptech-Commits] [user/ln5/stm32-avalanche-noise] 01/01: Don't find | rm for target 'clean'

git at cryptech.is git at cryptech.is
Wed Dec 18 22:46:11 UTC 2019


This is an automated email from the git hooks/post-receive script.

linus at nordberg.se pushed a commit to branch ln/devel
in repository user/ln5/stm32-avalanche-noise.

commit 6f4f2afe12e419fe5ba2705522fb3867a2452884
Author: Linus Nordberg <linus at nordberg.se>
AuthorDate: Wed Dec 18 23:40:39 2019 +0100

    Don't find | rm for target 'clean'
    
    That's too destructive (and also it doesn't work well with .~/).
---
 src/cc20rng/Makefile | 1 -
 src/entropy/Makefile | 1 -
 2 files changed, 2 deletions(-)

diff --git a/src/cc20rng/Makefile b/src/cc20rng/Makefile
index 2873505..b3627b6 100644
--- a/src/cc20rng/Makefile
+++ b/src/cc20rng/Makefile
@@ -30,7 +30,6 @@ $(PROJ_NAME).elf: $(SRCS)
 	$(SIZE) $(PROJ_NAME).elf
 
 clean:
-	find ./ -name '*~' | xargs rm -f
 	rm -f *.o
 	rm -f $(PROJ_NAME).elf
 	rm -f $(PROJ_NAME).hex
diff --git a/src/entropy/Makefile b/src/entropy/Makefile
index b4c02b3..68723b8 100644
--- a/src/entropy/Makefile
+++ b/src/entropy/Makefile
@@ -30,7 +30,6 @@ $(PROJ_NAME).elf: $(SRCS)
 	$(SIZE) $(PROJ_NAME).elf
 
 clean:
-	find ./ -name '*~' | xargs rm -f
 	rm -f *.o
 	rm -f $(PROJ_NAME).elf
 	rm -f $(PROJ_NAME).hex



More information about the Commits mailing list