diff options
author | Joursoir <chat@joursoir.net> | 2020-12-06 19:47:25 +0000 |
---|---|---|
committer | Joursoir <chat@joursoir.net> | 2020-12-06 19:47:25 +0000 |
commit | e99a03a838ddcf9eecadc10a7f71837afac3b99c (patch) | |
tree | 092ac919a8a8090df9c01536f5169e27952f7776 /src/client_clui/Makefile | |
parent | 91d777da4f5baeac47b3097913b2407b45bc031e (diff) | |
download | want-chat-e99a03a838ddcf9eecadc10a7f71837afac3b99c.tar.gz want-chat-e99a03a838ddcf9eecadc10a7f71837afac3b99c.tar.bz2 want-chat-e99a03a838ddcf9eecadc10a7f71837afac3b99c.zip |
some changes in reg/auth; client: remove name in arguments
Diffstat (limited to 'src/client_clui/Makefile')
-rw-r--r-- | src/client_clui/Makefile | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/client_clui/Makefile b/src/client_clui/Makefile new file mode 100644 index 0000000..071462b --- /dev/null +++ b/src/client_clui/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 |