2008-05-15 12:12:03 +02:00
|
|
|
--- make/gcc.mak.orig 2007-06-22 00:40:27.000000000 +0400
|
|
|
|
+++ make/gcc.mak 2008-05-15 12:55:04.000000000 +0400
|
2006-09-09 07:26:46 +02:00
|
|
|
@@ -14,7 +14,7 @@
|
|
|
|
MAKEOVERRIDES=
|
|
|
|
|
|
|
|
# The install prefix and directories
|
2008-05-15 12:12:03 +02:00
|
|
|
-prefix = /usr/local
|
2006-09-09 07:26:46 +02:00
|
|
|
+prefix = ${PREFIX}
|
|
|
|
exec_prefix = $(prefix)
|
|
|
|
|
|
|
|
bindir = $(exec_prefix)/bin
|
2008-05-15 12:12:03 +02:00
|
|
|
@@ -36,9 +36,9 @@
|
|
|
|
# BSD-like install-script/-program
|
|
|
|
INSTALL = make/install-sh
|
2006-09-09 07:26:46 +02:00
|
|
|
|
|
|
|
-INSTALL_DATA = $(INSTALL) -c -m 644
|
|
|
|
-INSTALL_PROG = $(INSTALL) -c -m 755
|
|
|
|
-INSTALL_STRIP = $(INSTALL_PROG) -s
|
|
|
|
+INSTALL_DATA = ${BSD_INSTALL_DATA}
|
|
|
|
+INSTALL_PROG = ${BSD_INSTALL_SCRIPT}
|
|
|
|
+INSTALL_STRIP = ${BSD_INSTALL_PROGRAM}
|
|
|
|
|
2008-05-15 12:12:03 +02:00
|
|
|
# This file-name extension is needed on DOS/Windows systems.
|
|
|
|
ifdef COMSPEC
|
|
|
|
@@ -52,7 +52,7 @@
|
2006-09-09 07:26:46 +02:00
|
|
|
# a system on the command-line. (A user can do those rules with their
|
|
|
|
# defaults by putting "all samples tests" on the command-line.)
|
|
|
|
#
|
|
|
|
-all: bins libs docs $(SYS:%=samples tests)
|
|
|
|
+all: bins libs $(SYS:%=samples tests)
|
|
|
|
|
|
|
|
bins:
|
2008-05-15 12:12:03 +02:00
|
|
|
@$(MAKE) -C src -f make/gcc.mak CC65_INC=\\\"${CC65INC}/\\\" CC65_LIB=\\\"${CC65LIB}/\\\"
|