Dicking around with template aliases and raii
This commit is contained in:
parent
6674d44fd0
commit
419970d6cd
2 changed files with 30 additions and 0 deletions
7
makefile
7
makefile
|
|
@ -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 $<
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue