proyecto-carga-electrica/Makefile
2025-10-05 21:26:33 -06:00

29 lines
506 B
Makefile

BUILD_DIR = build
.PHONY: all debug release fast clean run/debug run/release run/fast
all: debug
debug:
cmake -B $(BUILD_DIR) -DCMAKE_BUILD_TYPE=Debug
cmake --build $(BUILD_DIR)
release:
cmake -B $(BUILD_DIR) -DCMAKE_BUILD_TYPE=Release
cmake --build $(BUILD_DIR)
fast:
cmake -B $(BUILD_DIR) -DCMAKE_BUILD_TYPE=Fast
cmake --build $(BUILD_DIR)
run/debug: debug
./$(BUILD_DIR)/proyecto
run/release: release
./$(BUILD_DIR)/proyecto
run/fast: fast
./$(BUILD_DIR)/proyecto
clean:
rm -rf build