[53] | 1 | Short: Port of GNU make with SAS/C (no ixemul.library required)
|
---|
| 2 | Author: GNU, Amiga port by Aaron "Optimizer" Digulla
|
---|
| 3 | Uploader: Aaron "Optimizer" Digulla (digulla@fh-konstanz.de)
|
---|
| 4 | Type: dev/c
|
---|
| 5 |
|
---|
| 6 | This is a pure Amiga port of GNU make. It needs no extra libraries or
|
---|
| 7 | anything. It has the following features (in addition to any features of
|
---|
| 8 | GNU make):
|
---|
| 9 |
|
---|
| 10 | - Runs Amiga-Commands with SystemTags() (Execute)
|
---|
| 11 | - Can run multi-line statements
|
---|
| 12 | - Allows to use Device-Names in targets:
|
---|
| 13 |
|
---|
[3140] | 14 | c:make : make.o
|
---|
[53] | 15 |
|
---|
| 16 | is ok. To distinguish between device-names and target : or ::, MAKE
|
---|
| 17 | looks for spaces. If there are any around :, it's taken as a target
|
---|
| 18 | delimiter, if there are none, it's taken as the name of a device. Note
|
---|
| 19 | that "make:make.o" tries to create "make.o" on the device "make:".
|
---|
| 20 | - Replaces @@ by a newline in any command line:
|
---|
| 21 |
|
---|
[3140] | 22 | if exists make @@\
|
---|
| 23 | delete make.bak quiet @@\
|
---|
| 24 | rename make make.bak @@\
|
---|
| 25 | endif @@\
|
---|
| 26 | $(CC) Link Make.o To make
|
---|
[53] | 27 |
|
---|
[3140] | 28 | works. Note that the @@ must stand alone (i.e., "make@@\" is illegal).
|
---|
| 29 | Also be careful that there is a space after the "\" (i.e., at the
|
---|
[53] | 30 | beginning of the next line).
|
---|
| 31 | - Can be made resident to save space and time
|
---|
| 32 | - Amiga specific wildcards can be used in $(wildcard ...)
|
---|
| 33 |
|
---|
| 34 | BUGS:
|
---|
| 35 | - The line
|
---|
| 36 |
|
---|
| 37 | dummy.h : src/*.c
|
---|
| 38 |
|
---|
[3140] | 39 | tries to make dummy.h from "src/*.c" (i.e., no wildcard-expansion takes
|
---|
[53] | 40 | place). You have to use "$(wildcard src/*.c)" instead.
|
---|
| 41 |
|
---|
| 42 | COMPILING FROM SCRATCH
|
---|
| 43 | ----------------------
|
---|
| 44 |
|
---|
[3140] | 45 | To recompile, you need SAS/C 6.51. make itself is not necessary, there
|
---|
[53] | 46 | is an smakefile.
|
---|
| 47 |
|
---|
| 48 | 1. Copy config.ami to config.h
|
---|
[3140] | 49 | 2. If you use make to compile, copy Makefile.ami to Makefile and
|
---|
[53] | 50 | glob/Makefile.ami to glob/Makefile. Copy make into the current
|
---|
| 51 | directory.
|
---|
| 52 |
|
---|
| 53 | 3. Run smake/make
|
---|
| 54 |
|
---|
| 55 | INSTALLATION
|
---|
| 56 |
|
---|
[3140] | 57 | Copy make somewhere in your search path (e.g., sc:c or sc:bin).
|
---|
[53] | 58 | If you plan to use recursive makes, install make resident:
|
---|
| 59 |
|
---|
| 60 | Resident make Add
|
---|
| 61 |
|
---|
[503] | 62 | |
---|
| 63 |
|
---|
[3140] | 64 | -------------------------------------------------------------------------------
|
---|
[503] | 65 | Copyright (C) 1995-2016 Free Software Foundation, Inc.
|
---|
| 66 | This file is part of GNU Make.
|
---|
| 67 |
|
---|
| 68 | GNU Make is free software; you can redistribute it and/or modify it under the
|
---|
[1993] | 69 | terms of the GNU General Public License as published by the Free Software
|
---|
| 70 | Foundation; either version 3 of the License, or (at your option) any later
|
---|
[503] | 71 | version.
|
---|
| 72 |
|
---|
| 73 | GNU Make is distributed in the hope that it will be useful, but WITHOUT ANY
|
---|
| 74 | WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
|
---|
| 75 | A PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
---|
| 76 |
|
---|
[1993] | 77 | You should have received a copy of the GNU General Public License along with
|
---|
| 78 | this program. If not, see <http://www.gnu.org/licenses/>.
|
---|