Skip to content
This repository was archived by the owner on Mar 5, 2024. It is now read-only.

Commit d9524df

Browse files
author
Constanza Heath
committed
Fixing Makefile tabs and test's make clean
Signed-off-by: Constanza Heath <[email protected]>
1 parent f374541 commit d9524df

File tree

3 files changed

+11
-9
lines changed

3 files changed

+11
-9
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,5 @@ all:
1515
clean:
1616
$(MAKE) -C lib clean
1717
$(MAKE) -C tests clean
18-
$(RM) *~
18+
$(RM) *~
1919

lib/Makefile

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,7 @@ OBJS = utils.o \
2121
all: $(OBJS)
2222

2323
clean:
24-
$(RM) *.o *~
25-
$(RM) test_aes
26-
$(RM) test_cbc_mode
27-
$(RM) test_ctr_mode
28-
$(RM) test_hmac
29-
$(RM) test_hmac_prng
30-
$(RM) test_sha256
31-
24+
$(RM) *.o *.gch core *dump *~
3225

3326
# Dependencies
3427
aes_decrypt.o: aes_decrypt.c aes.h utils.o

tests/Makefile

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,15 @@ all: test_aes \
1616
test_hmac_prng \
1717
test_sha256
1818

19+
clean:
20+
$(RM) *.o *~
21+
$(RM) test_aes
22+
$(RM) test_cbc_mode
23+
$(RM) test_ctr_mode
24+
$(RM) test_hmac
25+
$(RM) test_hmac_prng
26+
$(RM) test_sha256
27+
$(RM) ../lib/*.o *~
1928

2029
# Dependencies
2130
test_aes: test_aes.o ../lib/aes_encrypt.o \

0 commit comments

Comments
 (0)