1
0
mirror of https://github.com/cc65/cc65.git synced 2024-06-22 17:29:34 +00:00

Remove the top-level Makefile's attempt to install the no-longer-external

start-up files.  Let the makefile work with command-shells that don't
recognize the "test" command's "-e" operator (the Minix OS has that shell).
Patch by maintainer Greg King.


git-svn-id: svn://svn.cc65.org/cc65/trunk@3997 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
uz 2009-08-05 14:31:33 +00:00
parent cb1870de74
commit f5a2022f32

View File

@ -1,8 +1,8 @@
#! /usr/bin/make -f
# -*- makefile -*-
# -*- make -*-
#
# Main gcc Makefile.
# This makefile is maintained by Greg King <gngking@erols.com>.
# This makefile is maintained by Greg King <greg.king4@verizon.net>.
# Goals that are supported by the cc65 package
.PHONY: all bins libs docs samples tests clean zap
@ -63,7 +63,7 @@ libs:
# This rule won't try to generate HTML files
# if a host system doesn't have LinuxDoc Tools.
docs:
@if sgmlcheck doc/index >/dev/null 2>&1; \
@if linuxdoc -B check doc/index >/dev/null 2>&1; \
then $(MAKE) -C doc html; \
else echo '"LinuxDoc Tools" is not installed; skipping HTML documentation.'; \
fi
@ -72,10 +72,10 @@ docs:
# So, these rules ignore errors.
samples:
-@$(MAKE) -k -C samples $(SYS:%=SYS=%)
-@$(MAKE) -k -C samples prefix=$(prefix) $(SYS:%=SYS=%)
tests:
-@$(MAKE) -k -C testcode/lib $(SYS:%=SYS=%)
-@$(MAKE) -k -C testcode/lib prefix=$(prefix) $(SYS:%=SYS=%)
clean zap:
$(MAKE) -C src -f make/gcc.mak $@
@ -148,7 +148,7 @@ install-libs:
do $(INSTALL_DATA) $$f $(CC65INC)/$$d || exit 1; \
done || exit 1; \
done
for f in libsrc/*.lib libsrc/*.o; \
for f in libsrc/*.lib; \
do $(INSTALL_DATA) $$f $(CC65LIB) || exit 1; \
done
for d in emd joy mou ser tgi; \
@ -164,7 +164,7 @@ install-docs:
for f in readme.1st compile.txt CREDITS BUGS internal.txt newvers.txt; \
do $(INSTALL_DATA) doc/$$f $(CC65DOC) || exit 1; \
done
if [ -e doc/index.htm* ]; \
if [ -f doc/index.htm* ]; \
then for f in doc/*.htm*; \
do $(INSTALL_DATA) $$f $(CC65DOC) || exit 1; \
done; \