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