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