# Installs
.PHONY: install
-install: install_headers install_lib install_staticlib
+install: install_lib
$(TGT)/$(pkgincludedir):
mkdir -p $@
$(CP) $(SRC)/*.h $<
.PHONY: install_lib
-install_lib: $(TGT)/$(libdir) $(TMP)/$(LIBFILE).so
+install_lib: $(TGT)/$(libdir) $(TMP)/$(LIBFILE)$(SHARED)
echo "Installing dynamic library to $<"
- $(CP) $(TMP)/$(LIBFILE).so $<
+ $(CP) $(TMP)/$(LIBFILE)$(SHARED) $<
.PHONY: install_staticlib
-install_staticlib: $(TGT)/$(libdir) $(TMP)/$(LIBFILE).a
+install_staticlib: $(TGT)/$(libdir) $(TMP)/$(LIBFILE)$(STATIC)
echo "Installing static library to $<"
- $(CP) $(TMP)/$(LIBFILE).a $<
+ $(CP) $(TMP)/$(LIBFILE)$(STATIC) $<