diff options
author | Sam Chudnick <sam@chudnick.com> | 2021-11-07 07:09:44 -0500 |
---|---|---|
committer | Sam Chudnick <sam@chudnick.com> | 2021-11-07 07:09:44 -0500 |
commit | 33555bc37a0589d35431c6e7dfc732cf922335c1 (patch) | |
tree | 055c5ec1261180694ed4cd45834e5aa6627631a9 /Makefile |
initial commit
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..aea03ac --- /dev/null +++ b/Makefile | |||
@@ -0,0 +1,10 @@ | |||
1 | CC ?= cc | ||
2 | LDFLAGS = -lncurses | ||
3 | |||
4 | output: | ||
5 | ${CC} main.c ncurses.c valid.c checks.c computer_player.c $(LDFLAGS) -o chess | ||
6 | |||
7 | clean: | ||
8 | rm -f chess | ||
9 | |||
10 | install: output | ||