initial commit

This commit is contained in:
jazz
2026-03-23 17:01:32 -05:00
parent d3c52fd18a
commit 33f7d4bcc4
16 changed files with 767 additions and 9 deletions

18
Makefile Normal file
View File

@@ -0,0 +1,18 @@
# Compiler and flags
TARGET = ct
CXX = g++
CXXFLAGS = -pthread -Wall -Wextra -O2 -std=c++17 -lncurses -g
SRC = $(wildcard *.cc)
OBJ = $(SRC:.cc=.o)
all: $(TARGET)
clean:
rm -f $(TARGET) *.o *.txt
$(TARGET): $(OBJ)
$(CXX) $(OBJ) $(CXXFLAGS) -o $(TARGET)
%.o: %.cc
$(CXX) -c $< $(CXXFLAGS) -o $@