aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 54ac0ae..360a8b9 100644
--- a/Makefile
+++ b/Makefile
@@ -23,6 +23,10 @@ run: build
$$B; \
done
+run/%: $(SYSTEMC_HOME)/lib/libsystemc.a BUILD/PLAYGROUND/CMakeCache.txt src/%.cc
+ ninja -C BUILD/PLAYGROUND $(NINJA_FLAGS) $*
+ BUILD/PLAYGROUND/$*
+
test: build
cd BUILD/PLAYGROUND/test && ctest --output-on-failure $(CCTEST_FLAGS)