BUILD_DIR = build .PHONY: all debug release clean run/debug run/release 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) run/debug: debug ./$(BUILD_DIR)/proyecto run/release: release ./$(BUILD_DIR)/proyecto clean: rm -rf build