aboutsummaryrefslogtreecommitdiffstats
path: root/lib/asn1/c_src/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lib/asn1/c_src/Makefile')
-rw-r--r--lib/asn1/c_src/Makefile12
1 files changed, 3 insertions, 9 deletions
diff --git a/lib/asn1/c_src/Makefile b/lib/asn1/c_src/Makefile
index 9e9cb18524..2e3c61dc1d 100644
--- a/lib/asn1/c_src/Makefile
+++ b/lib/asn1/c_src/Makefile
@@ -87,7 +87,9 @@ endif
# Targets
# ----------------------------------------------------
-opt: $(OBJDIR) $(LIBDIR) $(SHARED_OBJ_FILES)
+_create_dirs := $(shell mkdir -p $(OBJDIR) $(LIBDIR))
+
+opt: $(SHARED_OBJ_FILES)
debug: opt
@@ -109,14 +111,6 @@ $(OBJ_FILES): $(C_FILES)
$(SHARED_OBJ_FILES): $(OBJ_FILES)
$(LD) $(LDFLAGS) $(LD_INCL_EI) -o $(SHARED_OBJ_FILES) $(OBJ_FILES) $(LD_EI) $(CLIB_FLAGS) $(LIBS)
-$(LIBDIR):
- -mkdir -p $(LIBDIR)
-
-$(OBJDIR):
- -mkdir -p $(OBJDIR)
-
-
-
# ----------------------------------------------------
# Release Target
# ----------------------------------------------------