From: pcolmer@acorn.co.uk (Philip Colmer) Subject: Useful hints and tips #2: using !Make Date: 14 Jun 93 15:31:47 GMT 1. Using Aasm ------------- Having struggled for a while to get !Make to construct good makefiles which used Aasm as a tool, I thought I'd pass on the solution: don't put your AAsm sources in a directory called s. The reason for this is two-fold: 1. It clashes with ObjAsm, so !Make struggles with the rule constructs 2. There seems to be a hard-wired association in !Make which means that anything in a directory called s has to make something equivalent in a directory called o. What you call your directory is up to you, but I would suggest something like x or z. 2. Making everything with one target ------------------------------------ Another useful thing to do if you have multiple targets under one project is to have another target which causes everything to be made in one go. To do this, follow this recipe: 1. Quit !Make if it is currently loaded. 2. Load the make file into !Edit (or your favourite text editor). 3. After the line # Final targets: add @.All: Target1 Target2 Target3 Echo Target1 Target2 Target3 IMPORTANT! There are three spaces between "@.All:" and "Target1". There are eight spaces before "Echo". Both lines end in a space. Hopefully you will understand make files enough to know what to type in instead of Target1, Target2 and Target3 :-) 4. Save the make file and double-click on it. If you have got it right, everything should now make. If you haven't, double-check the spacing and your typing. --------------------------------------------------------------------- "Now, I realise that, technically speaking, that's only one flaw, but I thought that it was such a big one, it was worth mentioning twice."