blob: 5faf3524cb220f488aa9f0f53e92e0faa1364774 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
CC=clang
CFLAGS=-Wall -Wextra -Wpedantic
NCURSES=$(shell pkg-config --cflags --libs ncursesw)
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
|