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:17:41 +00:00
|
|
|
$(FORMATTER) squiggle.c
|
|
|
|
$(FORMATTER) squiggle.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-18 21:07:12 +00:00
|
|
|
clang-tidy extra.c -- -lm
|