2023-07-22 19:49:00 +00:00
|
|
|
MAKEFLAGS += --no-print-directory
|
|
|
|
|
2023-07-23 10:44:16 +00:00
|
|
|
## Formatter
|
|
|
|
STYLE_BLUEPRINT=webkit
|
|
|
|
FORMATTER=clang-format -i -style=$(STYLE_BLUEPRINT)
|
|
|
|
|
2023-11-18 21:07:12 +00:00
|
|
|
build-examples:
|
2023-11-19 14:48:16 +00:00
|
|
|
cd examples/core && make all
|
|
|
|
cd examples/more && make all
|
2023-11-18 21:07:12 +00:00
|
|
|
|
|
|
|
format-examples:
|
2023-11-19 14:48:16 +00:00
|
|
|
cd examples/core && make format-all
|
|
|
|
cd examples/more && make format-all
|
2023-07-23 10:44:16 +00:00
|
|
|
|
|
|
|
format: squiggle.c squiggle.h
|
2023-11-29 23:21:24 +00:00
|
|
|
$(FORMATTER) squiggle.c squiggle.h
|
|
|
|
$(FORMATTER) squiggle_more.c squiggle_more.h
|
2023-07-23 10:44:16 +00:00
|
|
|
|
2023-08-19 17:18:02 +00:00
|
|
|
lint:
|
|
|
|
clang-tidy squiggle.c -- -lm
|
2023-11-30 00:00:11 +00:00
|
|
|
clang-tidy squiggle_more.c -- -lm
|