streamlined example recipe

better use of default rules
This commit is contained in:
Yann Collet
2020-12-15 02:07:08 -08:00
parent 6899855a63
commit ecffa77e12
2 changed files with 30 additions and 27 deletions
+2 -2
View File
@@ -101,10 +101,10 @@ automated_benchmarking:
.PHONY: benchmarking
benchmarking: automated_benchmarking
## examples: build all examples in `/examples` directory
## examples: build all examples in `examples/` directory
.PHONY: examples
examples: lib
CPPFLAGS=-I../lib LDFLAGS=-L../lib $(MAKE) -C examples/ all
$(MAKE) -C examples all
## manual: generate API documentation in html format
.PHONY: manual