summaryrefslogtreecommitdiffstats
path: root/src/client/gui/Makefile
blob: 67ff3e27899098a398c54c61af465619eb115064 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
CPP = g++
CPPFLAGS = -Wall -g -lfltk
SOURCES = client.cpp OO_FLTK.cpp
OBJECTS = $(SOURCES:.cpp=.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)