summaryrefslogtreecommitdiffstats
path: root/src/client/clui/Makefile
blob: b77c8f68923dd4920da4de6cbb2a93d32c24520c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
CPP = g++
CPPFLAGS = -Wall -g -lncurses
SOURCES = main.cpp clui.cpp Client.cpp ../ClientBase.cpp
OBJECTS = main.o clui.o Client.o ClientBase.o
EXECUTABLE = client

.PHONY: all clean

all: $(EXECUTABLE)

clean:
	rm -rf $(OBJECTS) $(EXECUTABLE)

$(EXECUTABLE): $(OBJECTS)
	$(CPP) $(CPPFLAGS) -o $(EXECUTABLE) $(OBJECTS)

$(OBJECTS):
	$(CPP) -c $(CPPFLAGS) $(SOURCES)