]> git.codecow.com Git - Monocypher.git/commit
Add installation target to the makefile
authorLoup Vaillant <loup@loup-vaillant.fr>
Fri, 22 Sep 2017 07:34:54 +0000 (09:34 +0200)
committerLoup Vaillant <loup@loup-vaillant.fr>
Fri, 22 Sep 2017 07:34:54 +0000 (09:34 +0200)
commit487699ed794edf16070916624a340ea625c326a5
tree5c56e183225bca3fcf12c97626043dcd5863fe58
parent42f04664b39f0ed92af1651ba38686e3bb3a0804
Add installation target to the makefile

Fixes #24

Defines and uses the $DESTDIR and $PREFIX variables. They can be
overriden from the command line. By default, they are set to "" and
"usr/local" respectively.

Defines and uses a $PKGCONFIG variable to set the location of the
pkgconfig configuration file (monocypher.pc).  That variable depends
on $PREFIX.

Copies libmonocypher.a, libmonocypher.so and monocypher.h to their
respective destinations, and creates the pkgconfig configuration file.
makefile