diff options
| author | Tanner Robison <[email protected]> | 2026-07-26 11:07:46 -0700 |
|---|---|---|
| committer | Tanner Robison <[email protected]> | 2026-07-26 11:07:46 -0700 |
| commit | 18d3f45424e89dab81331bf2048a6a1e6a397f94 (patch) | |
| tree | 7aeb98ac6b8fcf3d4d9b591eb27f560dfbd1da41 /makefile | |
| parent | 91649830491cf8c3c34f4fe43d9572b5608a2cb6 (diff) | |
add makefile
Diffstat (limited to 'makefile')
| -rw-r--r-- | makefile | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/makefile b/makefile new file mode 100644 index 0000000..e7a91f7 --- /dev/null +++ b/makefile @@ -0,0 +1,14 @@ +CC = clang +CFLAGS = -Wall -Wextra -Wpedantic +NCURSES = $(shell pkg-config --cflags --libs ncursesw) + +mandlebrot_set: mandlebrot_set.c + $(CC) $(CFLAGS) mandlebrot_set.c -o mandlebrot_set $(NCURSES) + +run: mandlebrot_set + ./mandlebrot_set + +clean: + rm -f mandlebrot_set + +.PHONY: run clean |
