Quellcode durchsuchen

Fix Subdirectory Artifact Builds

JDierkse vor 5 Jahren
Ursprung
Commit
d367c181e1
1 geänderte Dateien mit 3 neuen und 1 gelöschten Zeilen
  1. 3 1
      Makefile

+ 3 - 1
Makefile

@@ -143,7 +143,9 @@ endef
 
 define add_target
         ifeq ($(.DEFAULT_GOAL),artifacts)
-                .DEFAULT_GOAL := $(1)
+                ifneq (,$(wildcard ./Makefile.conf))
+                        .DEFAULT_GOAL := $(1)
+                endif
         endif
 
         ifneq (,$$(findstring .a,$(1)))