1
0

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

14
.gitignore vendored
View File

@@ -56,15 +56,5 @@ boot-scripts/boot.net
doc/**/*.pdf doc/**/*.pdf
CMakeLists.txt.user build
CMakeCache.txt src/03-led-controller/led-controller
CMakeFiles
CMakeScripts
Testing
Makefile
cmake_install.cmake
install_manifest.txt
compile_commands.json
CTestTestfile.cmake
_deps
CMakeUserPresets.json

View File

@@ -1,5 +0,0 @@
cmake_minimum_required(VERSION 3.28)
project(led-controller)
include(../nanopi.cmake)
add_executable(led-controller main.c)

View File

@@ -0,0 +1,5 @@
EXE=led-controller
SRCS=$(wildcard *.c)
# Include the standard application Makefile for the CSEL1 labs
include ../appl.mk

View File

@@ -1,5 +1,7 @@
build: build:
cmake -S . -B build && cmake --build build make
clean: clean:
rm -rf build rm -rf build
rm -rf .obj
rm led-controller