add some makefile docs

This commit is contained in:
Steffen Jaeckel 2017-06-13 14:57:07 +02:00
parent 3995f971d7
commit a0e5c2e4ff
2 changed files with 14 additions and 0 deletions

View file

@ -7,6 +7,13 @@
#
# (GNU make only)
### USAGE:
#
# CFLAGS="-DUSE_LTM -DLTM_DESC -I/path/to/libtommath" make -f makefile.shared all EXTRALIBS=/path/to/libtommath/libtommath.a
# ./test
# make -f makefile.shared DESTDIR=/opt/libtom install
#
PLATFORM := $(shell uname | sed -e 's/_.*//')
ifndef LT