blob: 9f5f28b4828f7eb9133c1a93e1c1a8c8ed9460d3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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)
|