From 8d7eff7835405ed10b7659cc831a6727d0c02daf Mon Sep 17 00:00:00 2001 From: Tom Smeding Date: Mon, 27 Jan 2020 14:55:37 +0100 Subject: Initial --- Makefile | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..f410982 --- /dev/null +++ b/Makefile @@ -0,0 +1,18 @@ +CXX = g++ +CXXFLAGS = -Wall -Wextra -std=c++11 -O2 -Itermio +TARGET = netcatchat + +.PHONY: all clean + +all: $(TARGET) + +clean: + rm -f $(TARGET) + + +$(TARGET): netcatchat.cpp termio/libtermio.a + $(CXX) -o $@ $^ + +termio/libtermio.a: + git submodule update --init --recursive + $(MAKE) -C termio -- cgit v1.2.3-70-g09d2