English Amiga Board    


Go Back   English Amiga Board > » Coders > Coders. General

Reply
 
Thread Tools
Old 15 November 2006, 17:10   #1
girv
Reticulator of Splines
 
girv's Avatar
 
Join Date: Aug 2004
Location: Northern Ireland
Posts: 920
Send a message via ICQ to girv Send a message via AIM to girv Send a message via MSN to girv Send a message via Yahoo to girv
SAS/C included makefiles ?

Is it possible using smake to "include" another makefile from your current makefile?
__________________
[ girvnet is good for you | girv dot net ]

girv is offline   Reply With Quote
Old 19 November 2006, 21:20   #2
Kalms
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
It's not proper "include", but it worked well enough for me.
Kalms is offline   Reply With Quote
Old 19 November 2006, 23:25   #3
girv
Reticulator of Splines
 
girv's Avatar
 
Join Date: Aug 2004
Location: Northern Ireland
Posts: 920
Send a message via ICQ to girv Send a message via AIM to girv Send a message via MSN to girv Send a message via Yahoo to girv
Good idea, I'll try that!

Thanks
__________________
[ girvnet is good for you | girv dot net ]

girv is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

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


All times are GMT +2. The time now is 20:49.

-->

Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Page generated in 0.12543 seconds with 9 queries