squiggle.c/makefile

22 lines
437 B
Makefile
Raw Normal View History

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
$(FORMATTER) squiggle.c
$(FORMATTER) squiggle.h
2023-07-23 10:44:16 +00:00
lint:
clang-tidy squiggle.c -- -lm
2023-11-18 21:07:12 +00:00
clang-tidy extra.c -- -lm