summaryrefslogtreecommitdiffstats
path: root/src/client/clui/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/clui/Makefile')
-rw-r--r--src/client/clui/Makefile18
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