wmifinfo: Update Makefile.
commit6905ad773e038c4b33e8af66034b377b266e09be
authorDoug Torrance <dtorrance@monmouthcollege.edu>
Tue, 9 Dec 2014 03:01:47 +0000 (8 21:01 -0600)
committerCarlos R. Mafra <crmafra@gmail.com>
Tue, 9 Dec 2014 11:17:56 +0000 (9 11:17 +0000)
tree256c8adb052fc1391cf6faa873a2ecb5a04823ee
parentad6d781c1abcef0f046bb71d85f86928c2fae0e4
wmifinfo: Update Makefile.

In particular, add support for common user-defined variables CFLAGS,
CPPFLAGS, LDFLAGS, DESTDIR, and PREFIX.  Also remove reference to
deprecated X11R6 directory and use install instead of cp for install
target.

Inspired by the Debian patches:
http://sources.debian.net/src/wmifinfo/0.09-7/debian/patches/makefile_add_ldflags.patch/
http://sources.debian.net/src/wmifinfo/0.09-7/debian/patches/makefile_patch.patch/
wmifinfo/Makefile