]> git.tdb.fi Git - libs/core.git/commitdiff
static/shared lib extension tweaks
authorNiko Liikanen <cloud@neo-midgar.com>
Thu, 24 Aug 2006 21:10:04 +0000 (21:10 +0000)
committerNiko Liikanen <cloud@neo-midgar.com>
Thu, 24 Aug 2006 21:10:04 +0000 (21:10 +0000)
removed headers/static lib from install

Makefile

index d6e24b9a812c793cc24427ffa71fb08852c95152..c316117cb61878639a9cbbea01f26c0a1bd98dc9 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -58,7 +58,7 @@ $(TMP)/%.o: $(SRC)/%.cpp $(wildcard $(SRC)/*.h)
 
 # Installs
 .PHONY: install
-install: install_headers install_lib install_staticlib
+install: install_lib
 
 $(TGT)/$(pkgincludedir):
        mkdir -p $@
@@ -72,11 +72,11 @@ install_headers: $(TGT)/$(pkgincludedir)
        $(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) $<