diff options
author | Johannes Stoelp <johannes.stoelp@gmail.com> | 2023-11-04 20:38:54 +0100 |
---|---|---|
committer | Johannes Stoelp <johannes.stoelp@gmail.com> | 2023-11-04 20:38:54 +0100 |
commit | 85f498bc0749ba8479357d96994c9b46d36c5a52 (patch) | |
tree | 9ab749888b144b9698ff24137ca1cc6c0c51c91d /Makefile | |
parent | 8fdf3ac14b5d2deb19997452fe41092442cfdff6 (diff) | |
download | sysc-playground-85f498bc0749ba8479357d96994c9b46d36c5a52.tar.gz sysc-playground-85f498bc0749ba8479357d96994c9b46d36c5a52.zip |
cmake: rename systemc files and fix Makefile
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -9,8 +9,8 @@ ifeq ($V,1) CCTEST_FLAGS += --verbose endif -SRCS = $(shell find src test -type f -name \*.h -or -name \*.cc) -BINS = $(SRCS:src/%.cc=BUILD/pg-%) +SIMS= $(wildcard src/*.cc) +BINS = $(SIMS:src/%.cc=BUILD/pg-%) # -- SYSTEMC PLAYGROUND -------------------------------------------------------- @@ -30,7 +30,7 @@ run/%: config test: build cd BUILD/test && ctest --output-on-failure $(CCTEST_FLAGS) -config: BUILD/CMakeCache.txt cmake/CMakeLists-sysc-external.txt cmake/CMakeLists-sysc-fetch.txt +config: BUILD/CMakeCache.txt cmake/SystemC-external.cmake cmake/SystemC-fetch.cmake BUILD/CMakeCache.txt: CMakeLists.txt # SystemC options: # BUILD_SHARED_LIBS @@ -49,7 +49,7 @@ targets: ninja -C BUILD -t targets fmt: - clang-format -i $(SRCS) + clang-format -i $(shell shell find src test -type f -name \*.h -or -name \*.cc) # -- CLEAN --------------------------------------------------------------------- |