summarylogtreecommitdiffstats
path: root/fix-makefile-v2.0.patch
diff options
context:
space:
mode:
Diffstat (limited to 'fix-makefile-v2.0.patch')
-rw-r--r--fix-makefile-v2.0.patch46
1 files changed, 46 insertions, 0 deletions
diff --git a/fix-makefile-v2.0.patch b/fix-makefile-v2.0.patch
new file mode 100644
index 00000000000..56db47e6416
--- /dev/null
+++ b/fix-makefile-v2.0.patch
@@ -0,0 +1,46 @@
+--- Makefile.old 2020-03-06 13:11:55.074410494 +0100
++++ Makefile 2020-03-06 13:12:14.445682667 +0100
+@@ -27,11 +27,6 @@
+ EXEC_PREFIX ?=
+ CROSS ?= 0
+
+-ifneq (, $(shell which ccache))
+- OCC := $(CC)
+- CC := ccache $(CC)
+-endif
+-
+ SDCC_PATH = /tmp/sdcc
+ Z88DK_PATH = $(shell pwd)
+
+@@ -45,11 +40,11 @@
+ bin/z80nm$(EXESUFFIX) bin/zobjcopy$(EXESUFFIX) \
+ bin/z88dk-ticks$(EXESUFFIX) bin/z88dk-z80svg$(EXESUFFIX) \
+ bin/z88dk-font2pv1000$(EXESUFFIX) bin/z88dk-basck$(EXESUFFIX) \
+- testsuite bin/z88dk-lib$(EXESUFFIX)
++ testsuite bin/z88dk-lib$(EXESUFFIX)
+ ALL_EXT = bin/zsdcc$(EXESUFFIX)
+
+ .PHONY: $(ALL)
+-all: $(ALL) $(ALL_EXT)
++all: $(ALL)
+
+ setup:
+ $(shell if [ "${git_count}" != "" ]; then \
+@@ -137,7 +132,7 @@
+ cd libsrc ; $(MAKE) install
+
+ install: install-clean
+- install -d $(DESTDIR)/$(prefix) $(DESTDIR)/$(prefix_share)/lib
++ install -d $(DESTDIR)/$(prefix) $(DESTDIR)/$(prefix)/bin $(DESTDIR)/$(prefix_share)/lib
+ $(MAKE) -C src/appmake PREFIX=$(DESTDIR)/$(prefix) install
+ $(MAKE) -C src/copt PREFIX=$(DESTDIR)/$(prefix) install
+ $(MAKE) -C src/ucpp PREFIX=$(DESTDIR)/$(prefix) install
+@@ -196,6 +191,7 @@
+ $(MAKE) -C test clean
+ $(MAKE) -C testsuite clean
+ $(MAKE) -C src/z88dk-lib clean
+- #if [ -d bin ]; then find bin -type f -exec rm -f {} ';' ; fi
++# if [ -d bin ]; then find bin -type f -exec rm -f {} ';' ; fi
+
+ .PHONY: test testsuite
++