Эх сурвалжийг харах

Fix Subdirectory Artifact Builds

JDierkse 5 жил өмнө
parent
commit
d367c181e1
1 өөрчлөгдсөн 3 нэмэгдсэн , 1 устгасан
  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)))