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