diff options
| author | Tanner Robison <[email protected]> | 2026-08-26 22:24:25 -0700 |
|---|---|---|
| committer | Tanner Robison <[email protected]> | 2026-08-26 22:24:25 -0700 |
| commit | de7432d8eceb2f3eee5d7d88129b7275ab678cc8 (patch) | |
| tree | 30c320f44ede0c55f8be5d01e1236b545490ec75 /Makefile | |
| parent | 250d8132dd23cb5ef419960d765335ce2ade9135 (diff) | |
ncurses library
This also let me fix the scaling issue where we got oval shaped sandpile
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 14 |
1 files changed, 10 insertions, 4 deletions
@@ -1,8 +1,14 @@ -CC = gcc -Cflags = -I. +CC=clang +CFLAGS=-Wall -Wextra -Wpedantic +NCURSES=$(shell pkg-config --cflags --libs ncursesw) -abellian_sandpile: - $(CC) -o abellian_sandpile abellian_sandpile.c +abellian_sandpile: abellian_sandpile.c + $(CC) $(CFLAGS) abellian_sandpile.c -o abellian_sandpile $(NCURSES) + +run: abellian_sandpile + ./abellian_sandpile clean: rm -f abellian_sandpile + +.PHONY: run clean |
