From af275d9573c47b12a51f437da2bdb759440adeca Mon Sep 17 00:00:00 2001 From: Tommy Olofsson <tommy.olofsson.90@gmail.com> Date: Sat, 3 May 2014 20:01:25 +0200 Subject: [PATCH] Made sure 'clean' removes all test-binaries. They are also ignored by git now. --- .gitignore | 6 ++++++ lib/c/Makefile | 5 +++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 2eee762..a232684 100644 --- a/.gitignore +++ b/.gitignore @@ -9,6 +9,12 @@ lib/c/liblabcomm2006.a lib/c/liblabcomm2013.so.1 lib/c/liblabcomm2013.so lib/c/liblabcomm2013.a +lib/c/test/test_labcomm +lib/c/test/test_labcomm_basic_type_encoding +lib/c/test/test_labcomm_copy +lib/c/test/test_labcomm_generated_encoding +lib/c/test/test_labcomm_pthread_scheduler +lib/c/test/test_signature_numbers compiler/AST/ compiler/labComm.jar encoded_data diff --git a/lib/c/Makefile b/lib/c/Makefile index 4929b78..4d86f35 100644 --- a/lib/c/Makefile +++ b/lib/c/Makefile @@ -167,8 +167,9 @@ clean: $(RM) test/test_labcomm_errors $(RM) test/testdata/gen/*.[cho] $(RM) test/gen/*.[cho] - $(RM) $(TEST_DIR)/test_labcomm - $(RM) $(TEST_DIR)/test_labcomm_copy + for x in $(TESTS); do \ + $(RM) $(TEST_DIR)/$$x ; \ + done distclean: clean $(RM) liblabcomm.so.1 -- GitLab