Skip to content

Commit 19f55cb

Browse files
committed
bench_small and bench_large targets work from the root directory
1 parent 9cbccbc commit 19f55cb

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,5 @@ install:: all
1515
@mkdir -p $(DESTDIR)$(man1dir)
1616
@$(RST2MAN) docs/coz.rst $(DESTDIR)$(man1dir)/coz.1
1717

18-
bench::
19-
@$(MAKE) -C benchmarks bench
18+
bench bench_small bench_large::
19+
@$(MAKE) -C benchmarks $@

common.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ SRCS ?= $(wildcard *.cpp) $(wildcard *.c)
3030
OBJS ?= $(addprefix obj/,$(patsubst %.cpp,%.o,$(patsubst %.c,%.o,$(SRCS))))
3131

3232
# Prevent errors if files named all, clean, distclean, bench, or test exist
33-
.PHONY: all clean distclean bench test
33+
.PHONY: all clean distclean bench bench_small bench_large test
3434

3535
# Targets to build recirsively into $(DIRS)
3636
RECURSIVE_TARGETS ?= all clean bench bench_large bench_small test install check

0 commit comments

Comments
 (0)