1 # This is make+. Make+ is a set of scripts which enhance GNU make and
2 # let ou build RPMs, and other packages types with just one control
3 # file. Read more at http://www.annexia.org/freeware/makeplus/
5 # The original author is Richard W.M. Jones <rich@annexia.org>.
7 # This software has been explicitly placed in the PUBLIC DOMAIN. You
8 # do not need any sort of license or agreement to use or copy this
9 # software. You may also copyright this software yourself, and/or
10 # relicense it under any terms you want, at any time and at no cost.
11 # This allows you (among other things) to include this software with
12 # other packages so that the user does not need to download and
13 # install make+ separately.
15 # General C compilation variables.
19 SETENV ?= /usr/bin/env
20 CONF_ENV = CC="$(CC)" CFLAGS="$(CFLAGS)"
23 MP_LINK_STATIC = $(MAKEPLUS_HOME)/link_static.sh
24 MP_LINK_DYNAMIC = $(MAKEPLUS_HOME)/link_dynamic.sh
25 MP_INSTALL_STATIC_LIB = $(MAKEPLUS_HOME)/install_static_lib.sh
26 MP_INSTALL_DYNAMIC_LIB = $(MAKEPLUS_HOME)/install_dynamic_lib.sh
28 # Compile object files for dynamic linking.
30 $(CC) $(CFLAGS) -fPIC -c $< -o $@