Allow CC to be modified for build
This means that, when cross-compiling mspdebug, one doesn't have to hack up the Makefile. Just set CC in the environment.
This commit is contained in:
parent
96c5e92093
commit
5a13bc1f27
2
Makefile
2
Makefile
|
@ -15,7 +15,7 @@
|
||||||
# along with this program; if not, write to the Free Software
|
# along with this program; if not, write to the Free Software
|
||||||
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
|
|
||||||
CC = gcc
|
CC ?= gcc
|
||||||
INSTALL = /usr/bin/install
|
INSTALL = /usr/bin/install
|
||||||
PREFIX ?= /usr/local
|
PREFIX ?= /usr/local
|
||||||
LDFLAGS ?= -s
|
LDFLAGS ?= -s
|
||||||
|
|
Loading…
Reference in New Issue