From 67cdd15d97b14dd92de28fdbdb2770187c94e338 Mon Sep 17 00:00:00 2001 From: Joursoir Date: Fri, 27 Nov 2020 01:21:10 +0300 Subject: one more fix chat, support spec-messages, add exit from program :) --- src/client/Makefile | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 src/client/Makefile (limited to 'src/client/Makefile') diff --git a/src/client/Makefile b/src/client/Makefile new file mode 100644 index 0000000..071462b --- /dev/null +++ b/src/client/Makefile @@ -0,0 +1,18 @@ +CPP = g++ +CPPFLAGS = -Wall -g -lncurses +SOURCES = client.cpp clui.cpp user.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 -- cgit v1.2.3-18-g5258