Browse Source

Fix Subdirectory Artifact Builds

JDierkse 5 years ago
parent
commit
d367c181e1
1 changed files with 3 additions and 1 deletions
  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)))