Create required directories in the install step
This commit is contained in:
parent
aeb1767028
commit
4b20ab2e36
2
Makefile
2
Makefile
@ -24,7 +24,7 @@ $(OBJ)/%.o: $(SRC)/%.c
|
|||||||
|
|
||||||
install:
|
install:
|
||||||
@echo -- Installing $(LIBNAME).a
|
@echo -- Installing $(LIBNAME).a
|
||||||
@mkdir -p $(DESTDIR)
|
@mkdir -p $(DESTDIR)/{lib,include}
|
||||||
cp $(OUTPUT)/$(LIBNAME).a $(DESTDIR)/lib
|
cp $(OUTPUT)/$(LIBNAME).a $(DESTDIR)/lib
|
||||||
cp ./minitar.h $(DESTDIR)/include
|
cp ./minitar.h $(DESTDIR)/include
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user