Blame README.Amiga

Packit 26a39e
Short: Port of GNU make with SAS/C (no ixemul.library required)
Packit 26a39e
Author: GNU, Amiga port by Aaron "Optimizer" Digulla
Packit 26a39e
Uploader: Aaron "Optimizer" Digulla (digulla@fh-konstanz.de)
Packit 26a39e
Type: dev/c
Packit 26a39e
Packit 26a39e
This is a pure Amiga port of GNU make. It needs no extra libraries or
Packit 26a39e
anything. It has the following features (in addition to any features of
Packit 26a39e
GNU make):
Packit 26a39e
Packit 26a39e
- Runs Amiga-Commands with SystemTags() (Execute)
Packit 26a39e
- Can run multi-line statements
Packit 26a39e
- Allows to use Device-Names in targets:
Packit 26a39e
Packit 26a39e
        c:make : make.o
Packit 26a39e
Packit 26a39e
    is ok. To distinguish between device-names and target : or ::, MAKE
Packit 26a39e
    looks for spaces. If there are any around :, it's taken as a target
Packit 26a39e
    delimiter, if there are none, it's taken as the name of a device. Note
Packit 26a39e
    that "make:make.o" tries to create "make.o" on the device "make:".
Packit 26a39e
- Replaces @@ by a newline in any command line:
Packit 26a39e
Packit 26a39e
        if exists make @@\
Packit 26a39e
            delete make.bak quiet @@\
Packit 26a39e
            rename make make.bak @@\
Packit 26a39e
        endif @@\
Packit 26a39e
        $(CC) Link Make.o To make
Packit 26a39e
Packit 26a39e
    works. Note that the @@ must stand alone (i.e., "make@@\" is illegal).
Packit 26a39e
    Also be careful that there is a space after the "\" (i.e., at the
Packit 26a39e
    beginning of the next line).
Packit 26a39e
- Can be made resident to save space and time
Packit 26a39e
- Amiga specific wildcards can be used in $(wildcard ...)
Packit 26a39e
Packit 26a39e
BUGS:
Packit 26a39e
- The line
Packit 26a39e
Packit 26a39e
    dummy.h : src/*.c
Packit 26a39e
Packit 26a39e
tries to make dummy.h from "src/*.c" (i.e., no wildcard-expansion takes
Packit 26a39e
place). You have to use "$(wildcard src/*.c)" instead.
Packit 26a39e
Packit 26a39e
COMPILING FROM SCRATCH
Packit 26a39e
----------------------
Packit 26a39e
Packit 26a39e
To recompile, you need SAS/C 6.51. make itself is not necessary, there
Packit 26a39e
is an smakefile.
Packit 26a39e
Packit 26a39e
1. Copy config.ami to config.h
Packit 26a39e
2. If you use make to compile, copy Makefile.ami to Makefile and
Packit 26a39e
    glob/Makefile.ami to glob/Makefile. Copy make into the current
Packit 26a39e
    directory.
Packit 26a39e
Packit 26a39e
3. Run smake/make
Packit 26a39e
Packit 26a39e
INSTALLATION
Packit 26a39e
Packit 26a39e
Copy make somewhere in your search path (e.g., sc:c or sc:bin).
Packit 26a39e
If you plan to use recursive makes, install make resident:
Packit 26a39e
Packit 26a39e
    Resident make Add
Packit 26a39e
Packit 26a39e

Packit 26a39e
-------------------------------------------------------------------------------
Packit 26a39e
Copyright (C) 1995-2016 Free Software Foundation, Inc.
Packit 26a39e
This file is part of GNU Make.
Packit 26a39e
Packit 26a39e
GNU Make is free software; you can redistribute it and/or modify it under the
Packit 26a39e
terms of the GNU General Public License as published by the Free Software
Packit 26a39e
Foundation; either version 3 of the License, or (at your option) any later
Packit 26a39e
version.
Packit 26a39e
Packit 26a39e
GNU Make is distributed in the hope that it will be useful, but WITHOUT ANY
Packit 26a39e
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
Packit 26a39e
A PARTICULAR PURPOSE.  See the GNU General Public License for more details.
Packit 26a39e
Packit 26a39e
You should have received a copy of the GNU General Public License along with
Packit 26a39e
this program.  If not, see <http://www.gnu.org/licenses/>.