typo + main fixes

This commit is contained in:
rmanach
2025-02-21 12:50:04 +01:00
parent 0e0a044c66
commit 045a1e20d5
4 changed files with 28 additions and 22 deletions
+3 -3
View File
@@ -24,14 +24,14 @@ ifeq ($(strip $(name)), "")
@false
endif
project: .check-name
@./scripts/scaffold_project.bash $(name) $(SDK_VERSION)
ifeq ($(shell test -d $(name) && echo "ok"),)
@echo "error: project $(name) does not exist"
@false
endif
project: .check-name
@./scripts/scaffold_project.bash $(name) $(SDK_VERSION)
format: .check-name
@test -f "$(shell find /usr/bin/ -name astyle)" && astyle --style=java --indent=spaces=4 -K -xC120 $(name)/*.c