add bar drawing, use pointers more

This commit is contained in:
Drath
2025-05-03 20:20:15 +02:00
parent e08f6c8077
commit 8632cab336
7 changed files with 99 additions and 41 deletions

View File

@@ -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: