summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTazyFoundSoup <gardendistrict0x0@outlook.com>2026-02-22 14:33:47 +1100
committerTazyFoundSoup <gardendistrict0x0@outlook.com>2026-02-22 14:33:47 +1100
commit9e6aa66379236bbf250f9618571d0d8fc1e86766 (patch)
tree8560f3def5f832b583fbba9da1958b8242c81db7
parent700d4447dfcd815aef5967ecc8cef60800007ead (diff)
fix(make): Create OUTDIR if not existing
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 640725b..7e8a569 100644
--- a/Makefile
+++ b/Makefile
@@ -10,6 +10,9 @@ OUTDIR=dist
all: $(LIB)
+$(OUTDIR):
+ mkdir -p $(OUTDIR)
+
$(LIB): $(OBJ)
$(AR) rcs $(OUTDIR)/$(LIB) $(OUTDIR)/$(OBJ)