Create required directories in the install step

This commit is contained in:
apio 2022-11-06 12:14:03 +01:00
parent aeb1767028
commit 4b20ab2e36

View File

@ -24,7 +24,7 @@ $(OBJ)/%.o: $(SRC)/%.c
install:
@echo -- Installing $(LIBNAME).a
@mkdir -p $(DESTDIR)
@mkdir -p $(DESTDIR)/{lib,include}
cp $(OUTPUT)/$(LIBNAME).a $(DESTDIR)/lib
cp ./minitar.h $(DESTDIR)/include