When running make from root directory, only look for apps in directories,
authorNathael Pajani <nathael.pajani@ed3l.fr>
Tue, 8 Nov 2022 18:12:21 +0000 (19:12 +0100)
committerNathael Pajani <nathael.pajani@ed3l.fr>
Tue, 8 Nov 2022 18:12:21 +0000 (19:12 +0100)
not in common files ...

Makefile

index 9d2ec29..ff76888 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -25,7 +25,7 @@ LDFLAGS = -static $(LD_DEBUG) -nostartfiles -nostdlib -Tlpc_link_$(LPC).ld \
                  -Wl,-Map=$(TARGET_DIR)/lpc_map_$(LPC).map
 
 
-APPS = $(subst apps/,,$(wildcard apps/*/*))
+APPS = $(subst apps/,,$(wildcard apps/*/*/)))
 
 .PHONY: all $(APPS)
 all: $(APPS)