1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 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