Update Makefile to prevent build of host apps with target compiler master
authorNathael Pajani <nathael.pajani@ed3l.fr>
Sat, 11 Feb 2023 12:03:30 +0000 (13:03 +0100)
committerNathael Pajani <nathael.pajani@ed3l.fr>
Sat, 11 Feb 2023 12:03:30 +0000 (13:03 +0100)
Makefile

index 4845b12..cb79d42 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -17,7 +17,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/*/[!host]*))
 
 .PHONY: all $(APPS)
 all: $(APPS)