From 1207b12aa351eeb3d9a845cb79c457c416c408d2 Mon Sep 17 00:00:00 2001 From: Eric Stein Date: Sat, 8 Aug 2015 19:52:45 -0500 Subject: [PATCH] make test option for makefile- #5 --- Makefile | 5 +++++ tests/.gitignore | 1 + 2 files changed, 6 insertions(+) create mode 100644 tests/.gitignore diff --git a/Makefile b/Makefile index 276491f..9443c51 100644 --- a/Makefile +++ b/Makefile @@ -78,6 +78,11 @@ config : rm user/user_config.h ln -s user_config.$(CONFIG).h user/user_config.h +test : + rm -f tests/testsuite + gcc tests/testsuite.c -o tests/testsuite + tests/testsuite + clean : rm -rf user/*.o driver/*.o $(TARGET_OUT) $(FW_FILE_1) $(FW_FILE_2) diff --git a/tests/.gitignore b/tests/.gitignore new file mode 100644 index 0000000..e7895a9 --- /dev/null +++ b/tests/.gitignore @@ -0,0 +1 @@ +testsuite