![]() |
|
|||||||
| Register | >> Amiga FAQ/Wiki << | Rules & Help | Members List / Moderators List | Search | Today's Posts | Mark Forums Read |
![]() |
|
|
Thread Tools |
|
|
#1 |
|
Reticulator of Splines
|
SAS/C included makefiles ?
Is it possible using smake to "include" another makefile from your current makefile?
|
|
|
|
|
|
#2 |
|
Registered User
Join Date: Nov 2006
Location: Stockholm, Sweden
Posts: 121
|
I never figured this out myself back when I was using smake. As a workaround, I concatenated the various pieces together myself and then ran smake on the result.
Let's say you have one makefile called "smakefile", and you wish it to include "smakefile.common" when making the target named "all". Then do the following: * Rename "smakefile" into "smakefile.local" Create a new "smakefile" which contains the following lines: Code:
.PHONY : all
all :
@type smakefile.common >t:smakefile.tmp
@type smakefile.local >>t:smakefile.tmp
@smake -f t:smakefile.tmp
|
|
|
|
|
|
#3 |
|
Reticulator of Splines
|
Good idea, I'll try that!
Thanks ![]() |
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| 100 Demo Compilation - 6 ADFs included | sdaonline | Nostalgia & memories | 5 | 28 March 2013 10:18 |
| SAS C 5.10b | Jherek Carnelia | request.Apps | 18 | 07 September 2009 11:39 |
| request Sas/C | hameron | request.Apps | 4 | 01 April 2007 16:48 |
| Why does winFellow display full screen and winUAE does not? (images included) | AmigaK2 | New to Emulation or Amiga scene | 1 | 11 July 2004 17:11 |
| Sas C | Scoglio | request.Apps | 0 | 28 October 2002 11:13 |