CXX := clang++ CXX_FLAGS := -Wall -Wextra -std=c++17 -ggdb BIN := bin SRC := src INCLUDE := include LIB := lib LIBRARIES := EXECUTABLE := tests all: $(BIN)/$(EXECUTABLE) run: clean all clear ./$(BIN)/$(EXECUTABLE) $(BIN)/$(EXECUTABLE): $(SRC)/*.cpp $(CXX) $(CXX_FLAGS) -isystem$(INCLUDE) -L$(LIB) $^ -o $@ $(LIBRARIES) clean: -rm $(BIN)/*