fix(lab03): use make instead of cmake

This commit is contained in:
2026-04-18 09:27:37 +00:00
parent a9c9d11521
commit 95c86b3ea5
4 changed files with 10 additions and 18 deletions
+2 -12
View File
@@ -56,15 +56,5 @@ boot-scripts/boot.net
doc/**/*.pdf
CMakeLists.txt.user
CMakeCache.txt
CMakeFiles
CMakeScripts
Testing
Makefile
cmake_install.cmake
install_manifest.txt
compile_commands.json
CTestTestfile.cmake
_deps
CMakeUserPresets.json
build
src/03-led-controller/led-controller
-5
View File
@@ -1,5 +0,0 @@
cmake_minimum_required(VERSION 3.28)
project(led-controller)
include(../nanopi.cmake)
add_executable(led-controller main.c)
+5
View File
@@ -0,0 +1,5 @@
EXE=led-controller
SRCS=$(wildcard *.c)
# Include the standard application Makefile for the CSEL1 labs
include ../appl.mk
+3 -1
View File
@@ -1,5 +1,7 @@
build:
cmake -S . -B build && cmake --build build
make
clean:
rm -rf build
rm -rf .obj
rm led-controller