From d9524df24ff1f08345f619e2bfe2ce52f032b252 Mon Sep 17 00:00:00 2001 From: Constanza Heath Date: Fri, 11 Dec 2015 16:43:02 -0800 Subject: [PATCH] Fixing Makefile tabs and test's make clean Signed-off-by: Constanza Heath --- Makefile | 2 +- lib/Makefile | 9 +-------- tests/Makefile | 9 +++++++++ 3 files changed, 11 insertions(+), 9 deletions(-) diff --git a/Makefile b/Makefile index 7fabbe0..840f6fd 100644 --- a/Makefile +++ b/Makefile @@ -15,5 +15,5 @@ all: clean: $(MAKE) -C lib clean $(MAKE) -C tests clean - $(RM) *~ + $(RM) *~ diff --git a/lib/Makefile b/lib/Makefile index 1f2894c..017484f 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -21,14 +21,7 @@ OBJS = utils.o \ all: $(OBJS) clean: - $(RM) *.o *~ - $(RM) test_aes - $(RM) test_cbc_mode - $(RM) test_ctr_mode - $(RM) test_hmac - $(RM) test_hmac_prng - $(RM) test_sha256 - + $(RM) *.o *.gch core *dump *~ # Dependencies aes_decrypt.o: aes_decrypt.c aes.h utils.o diff --git a/tests/Makefile b/tests/Makefile index 4dc96f1..954f0ef 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -16,6 +16,15 @@ all: test_aes \ test_hmac_prng \ test_sha256 +clean: + $(RM) *.o *~ + $(RM) test_aes + $(RM) test_cbc_mode + $(RM) test_ctr_mode + $(RM) test_hmac + $(RM) test_hmac_prng + $(RM) test_sha256 + $(RM) ../lib/*.o *~ # Dependencies test_aes: test_aes.o ../lib/aes_encrypt.o \