diff options
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 | ||
