diff options
Diffstat (limited to 'test/src/Makefile')
| -rw-r--r-- | test/src/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/test/src/Makefile b/test/src/Makefile index 33e4bdf..5005303 100644 --- a/test/src/Makefile +++ b/test/src/Makefile @@ -17,6 +17,7 @@ INCLUDES = -I. -I../../src -I../../lib -I../lib/criterion/include LIBS = -lrt -lpari -lpthread -lparson -lsha1 -lcriterion TEST_SRC = $(wildcard *.c) $(wildcard */*.c) +TEST_HDR = $(wildcard */*.h) TEST_OBJ = $(patsubst %.c,%.o, $(TEST_SRC)) TESTS = $(patsubst %.c,%, $(TEST_SRC)) @@ -41,4 +42,8 @@ clean: clean-cov: find . -type f -name '*.gcda' -exec rm {} + find . -type f -name '*.gcno' -exec rm {} + - find . -type f -name '*.gcov' -exec rm {} +
\ No newline at end of file + find . -type f -name '*.gcov' -exec rm {} + + +format: + clang-format -i $(TEST_SRC) + clang-format -i $(TEST_HDR)
\ No newline at end of file |
