diff options
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 --------------------------------------------------------------------- |