add bar drawing, use pointers more
This commit is contained in:
6
Makefile
6
Makefile
@@ -3,11 +3,11 @@ MAKEFLAGS := --jobs=16
|
||||
|
||||
# compiling with C++26
|
||||
CXXFLAGS := -std=c++2c -Ofast -fdiagnostics-color=always -Iinclude
|
||||
# CXXFLAGS += -MMD -MP
|
||||
CXXFLAGS += -MMD -MP
|
||||
|
||||
SOURCES := main.cpp $(wildcard src/*.cpp)
|
||||
OBJECTS := $(SOURCES:.cpp=.o)
|
||||
# DEPS := $(OBJECTS:.o=.d)
|
||||
DEPS := $(OBJECTS:.o=.d)
|
||||
|
||||
TEST_SRC := test.cpp $(wildcard src/*.cpp)
|
||||
TEST_OBJS := $(TEST_SRC:.cpp=.o)
|
||||
@@ -24,7 +24,7 @@ test: $(TEST_OBJS)
|
||||
%.o: %.cpp
|
||||
g++ $(CXXFLAGS) -c $< -o $@
|
||||
|
||||
# -include $(DEPS)
|
||||
-include $(DEPS)
|
||||
|
||||
.PHONY: clean
|
||||
clean:
|
||||
|
||||
Reference in New Issue
Block a user