diff options
author | Joursoir <chat@joursoir.net> | 2021-03-12 22:19:22 +0000 |
---|---|---|
committer | Joursoir <chat@joursoir.net> | 2021-03-12 22:19:22 +0000 |
commit | 6aa075f80e0742424d8bf0f15dc69467c4dc3a04 (patch) | |
tree | 9ef8f40b68a5926499b21b5015c9514d8b440035 /Makefile | |
parent | 5e67c04a0b81194835e1bbedc8ca52df0852694a (diff) | |
download | lp-gomoku-master.tar.gz lp-gomoku-master.tar.bz2 lp-gomoku-master.zip |
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..9f5f28b --- /dev/null +++ b/Makefile @@ -0,0 +1,19 @@ +CC = g++ +CFLAGS = -Wall -lncurses +SOURCES = GameField.cpp ai.cpp clui.cpp +OBJECTS = GameField.o ai.o clui.o +EXECUTABLE = lpgomoku + +.PHONY: all clean + +all: $(EXECUTABLE) + +clean: + @rm -rf $(EXECUTABLE) $(OBJECTS) + +$(OBJECTS): + @$(CC) -c $(CFLAGS) $(SOURCES) + +$(EXECUTABLE): $(OBJECTS) + @$(CC) $(CFLAGS) -o $(EXECUTABLE) $(OBJECTS) +
\ No newline at end of file |