summaryrefslogtreecommitdiffstats
path: root/src/client/gui/Makefile
diff options
context:
space:
mode:
authorJoursoir <chat@joursoir.net>2020-12-07 11:47:44 +0000
committerJoursoir <chat@joursoir.net>2020-12-07 11:47:44 +0000
commit9457a74c256bdf090667a5b19238cb5dfd7e031e (patch)
treeceb6fbcff7ec554572c01f43ee3f448682a3b445 /src/client/gui/Makefile
parente99a03a838ddcf9eecadc10a7f71837afac3b99c (diff)
downloadwant-chat-9457a74c256bdf090667a5b19238cb5dfd7e031e.tar.gz
want-chat-9457a74c256bdf090667a5b19238cb5dfd7e031e.tar.bz2
want-chat-9457a74c256bdf090667a5b19238cb5dfd7e031e.zip
add gui without functionality
Diffstat (limited to 'src/client/gui/Makefile')
-rw-r--r--src/client/gui/Makefile18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/client/gui/Makefile b/src/client/gui/Makefile
new file mode 100644
index 0000000..2bc0969
--- /dev/null
+++ b/src/client/gui/Makefile
@@ -0,0 +1,18 @@
+CPP = g++
+CPPFLAGS = -Wall -g -lfltk
+SOURCES = client.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) \ No newline at end of file