Skip to content
Permalink
Browse files

bench_small and bench_large targets work from the root directory

  • Loading branch information...
ccurtsinger committed Oct 8, 2019
1 parent 9cbccbc commit 19f55cb87b2ef4462904893405dd25b711325de1
Showing with 3 additions and 3 deletions.
  1. +2 −2 Makefile
  2. +1 −1 common.mk
@@ -15,5 +15,5 @@ install:: all
@mkdir -p $(DESTDIR)$(man1dir)
@$(RST2MAN) docs/coz.rst $(DESTDIR)$(man1dir)/coz.1

bench::
@$(MAKE) -C benchmarks bench
bench bench_small bench_large::
@$(MAKE) -C benchmarks $@
@@ -30,7 +30,7 @@ SRCS ?= $(wildcard *.cpp) $(wildcard *.c)
OBJS ?= $(addprefix obj/,$(patsubst %.cpp,%.o,$(patsubst %.c,%.o,$(SRCS))))

# Prevent errors if files named all, clean, distclean, bench, or test exist
.PHONY: all clean distclean bench test
.PHONY: all clean distclean bench bench_small bench_large test

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

0 comments on commit 19f55cb

Please sign in to comment.
You can’t perform that action at this time.