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

Commit 0fa076c

Browse files
author
Florin Iucha
committed
Fix typo: properly clean up objects
1 parent cc85eb7 commit 0fa076c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,16 @@ include ../config.mk
1111
TEST_LIB_FILE:=test_ecc_utils.c
1212
TEST_SOURCE:=$(filter-out $(TEST_LIB_FILE), $(wildcard test_*.c))
1313

14-
TEST_OBJECTS:=$(TEST_SOURCE.c=.o)
15-
TEST_DEPS:=$(TEST_SOURCE.c=.d)
14+
TEST_OBJECTS:=$(TEST_SOURCE:.c=.o)
15+
TEST_DEPS:=$(TEST_SOURCE:.c=.d)
1616
TEST_BINARY:=$(TEST_SOURCE:.c=$(DOTEXE))
1717

1818
# Edit the 'all' content to add/remove tests needed from TinyCrypt library:
1919
all: $(TEST_BINARY)
2020

2121
clean:
22-
-$(RM) *.o *~
2322
-$(RM) $(TEST_BINARY) $(TEST_OBJECTS) $(TEST_DEPS)
23+
-$(RM) *~ *.o *.d
2424

2525
# Dependencies
2626
test_aes$(DOTEXE): test_aes.o aes_encrypt.o aes_decrypt.o utils.o

0 commit comments

Comments
 (0)