squiggle.c/makefile

22 lines
469 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
2023-11-29 23:10:22 +00:00
$(FORMATTER) squiggle.c squiggle.h
$(FORMATTER) squiggle_more.c squiggle_more.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