forked from personal/squiggle.c
19 lines
502 B
Makefile
19 lines
502 B
Makefile
MAKEFLAGS += --no-print-directory
|
|
|
|
## Formatter
|
|
STYLE_BLUEPRINT=webkit
|
|
FORMATTER=clang-format -i -style=$(STYLE_BLUEPRINT)
|
|
|
|
all:
|
|
cd examples/01_one_sample && make && echo
|
|
cd examples/02_many_samples && make && echo
|
|
cd examples/03_gcc_nested_function && make && echo
|
|
cd examples/04_sample_from_cdf_simple && make && echo
|
|
cd examples/05_sample_from_cdf_beta && make && echo
|
|
cd examples/06_gamma_beta && make && echo
|
|
|
|
format: squiggle.c squiggle.h
|
|
$(FORMATTER) squiggle.c
|
|
$(FORMATTER) squiggle.h
|
|
|