Dicking around with template aliases and raii

This commit is contained in:
Imbus 2024-04-12 00:14:13 +02:00
parent 6674d44fd0
commit 419970d6cd
2 changed files with 30 additions and 0 deletions

View file

@ -36,7 +36,10 @@ HDRS := $(wildcard src/*.hpp)
# Specify the object files in the build directory
OBJS := $(patsubst src/%.cpp,build/%.o,$(SRCS))
# Print green after success
all: $(TARGET)
make size
@echo -e "\033[0;32m[Success]\033[0m"
# For convenience
run: $(TARGET)
@ -76,6 +79,10 @@ tar: $(TARGET_TAR)
# Sign the tar
sign: $(TARGET_SIG)
# Check the assembly
asm: $(TARGET)
$(OBJDUMP) -d $(TARGET)
$(TARGET_SIG): $(TARGET_TAR)
minisign -Sm $<