diff options
author | Johannes Stoelp <johannes.stoelp@gmail.com> | 2024-03-26 22:03:21 +0100 |
---|---|---|
committer | Johannes Stoelp <johannes.stoelp@gmail.com> | 2024-03-26 22:03:21 +0100 |
commit | 792409865b159aaf49e3153a5f6c136f199e70a3 (patch) | |
tree | 5817db8e2f1ed2c012f9323ad76ed1d30ca8fe42 /Makefile | |
parent | a15db74027fde75efef34f391d2a458bf64001d0 (diff) | |
download | cpp-utils-792409865b159aaf49e3153a5f6c136f199e70a3.tar.gz cpp-utils-792409865b159aaf49e3153a5f6c136f199e70a3.zip |
make: wildcard to pickup tests rather than explicit listing
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 13 |
1 files changed, 4 insertions, 9 deletions
@@ -1,15 +1,10 @@ -TEST += bitfield -TEST += option -TEST += timer -TEST += log -TEST += owning_mutex -TEST += latch +TEST = $(wildcard test/*.cc) # -- INTERNALS ----------------------------------------------------------------- -BINS = $(TEST:%=build/%) -DEPS = $(TEST:%=build/%.d) -RUNS = $(TEST:%=run/%) +BINS = $(TEST:test/%.cc=build/%) +DEPS = $(TEST:test/%.cc=build/%.d) +RUNS = $(TEST:test/%.cc=run/%) # -- FLAGS --------------------------------------------------------------------- |