diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-06-15 17:10:59 -0600 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-06-15 18:02:55 -0600 |
commit | 7b32b8e5eb7cdc8939042ab665f1b80f03036132 (patch) | |
tree | af4739cb2ce2cfced5947fe3ad09f35fe51bb25f /common.mk | |
parent | 5a1241643d4360fa8acc5a1bb9dfbd4a5c691c49 (diff) |
Makefiles: pull the config section into config.mk
Diffstat (limited to 'common.mk')
-rw-r--r-- | common.mk | 19 |
1 files changed, 2 insertions, 17 deletions
@@ -1,20 +1,5 @@ -# Configuration -DESTDIR= - -#prefix=/usr/local -prefix=/usr -exec_prefix=$(prefix) -bindir=$(exec_prefix)/bin -sbindir=$(exec_prefix)/sbin -#libexecdir=$(exec_prefix)/libexec -libexecdir=$(exec_prefix)/lib - -datarootdir=$(prefix)/share -datadir=$(datarootdir) -#sysconfdir=$(prefix)/etc -sysconfdir=/etc - -docdir=$(datarootdir)/doc +topdir := $(dir $(lastword $(MAKEFILE_LIST))) +include $(topdir)/config.mk ################################################################################ progs = $(shell find . -maxdepth 1 -type f -executable -printf '%f\n') |