diff options
author | Johannes Stoelp <johannes.stoelp@gmail.com> | 2023-11-01 19:44:52 +0100 |
---|---|---|
committer | Johannes Stoelp <johannes.stoelp@gmail.com> | 2023-11-01 19:44:52 +0100 |
commit | 1bcc32d20ee43ad10e9feafceaf6e517df21050f (patch) | |
tree | 805f86046461e29af65fa202a7e53a2bce4ff7b9 /Makefile | |
parent | 748608275e142428a2f2107d647b3a88c9cf48a0 (diff) | |
download | sysc-playground-1bcc32d20ee43ad10e9feafceaf6e517df21050f.tar.gz sysc-playground-1bcc32d20ee43ad10e9feafceaf6e517df21050f.zip |
make: add run/% target to build & run a single simulation
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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) |