1
0
Files
MSE-CSEL/solutions/04_system/silly/Makefile
2026-04-18 09:59:10 +00:00

21 lines
420 B
Makefile

# Makefile for CMake project with intelligent configuration
# Default target
all: build/build.ninja
cmake --build build
# Create build directory and generate build files if needed
build/build.ninja : CMakeLists.txt
cmake -S . -B build -G "Ninja"
# Clean build directory
clean:
rm -rf build
# Rebuild from scratch
rebuild: clean all
# Phony targets (targets that don't represent files)
.PHONY: all clean rebuild