(clang) added targets rebuild and run

This commit is contained in:
scbj
2026-02-03 10:01:29 +01:00
parent 8bc0c27ab2
commit ac3fa61211
+7 -2
View File
@@ -46,13 +46,18 @@ MKDIR := $(BIN_DIR) $(OBJ_DIR)
VPATH := $(SRC_DIR) VPATH := $(SRC_DIR)
.PHONY: all clean test .PHONY: all clean rebuild run test
all: clean $(MKDIR) $(BINARY) all: $(MKDIR) $(BINARY)
clean: clean:
@rm -rf $(MKDIR) @rm -rf $(MKDIR)
rebuild: clean all
run: all
./$(BINARY)
$(MKDIR): $(MKDIR):
@mkdir -p $@ @mkdir -p $@