replica nfl jerseysreplica nfl jerseyssoccer jerseyreplica nfl jerseys forums.silverfrost.com :: View topic - mk32: How to avoid list files
forums.silverfrost.com Forum Index forums.silverfrost.com
Welcome to the Silverfrost forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

mk32: How to avoid list files

 
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Support
View previous topic :: View next topic  
Author Message
jjgermis



Joined: 21 Jun 2006
Posts: 404
Location: N�rnberg, Germany

PostPosted: Mon Apr 11, 2011 2:10 pm    Post subject: mk32: How to avoid list files Reply with quote

We are using Silverfrost together with gfortran. Since I could not figure out how to suppress the directory structure from Plato, the idea is to rather use of make files. In doing so the repository has the same structure for both compilers.

Below is the make file for mk32. Since I have OBJ as a macro I would like to avoid the @listfile, i.e. making a file which has the same content as OBJ. Is this possible?

Code:
.SUFFIXES: .f90 .obj
OBJ =  NRTYPE.obj         NRUTIL.obj        NR.obj            POLIN2.obj        POLINT.obj        ZBRAK.obj         LOCATE.obj        BRENT.obj         ZBRENT.obj

T = nr.lib      
      
.f90.obj:
   ftn95 $< /check
   
nr.lib: $(OBJ)
   slink -archive:$@ -addobj:@listfile
Back to top
View user's profile Send private message
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 8211
Location: Salford, UK

PostPosted: Mon Apr 11, 2011 4:13 pm    Post subject: Reply with quote

I am not sure what you are asking for but an alternative approach is to have the slink line in the form

slink listfile

where listfile is a file containing line by line commands in script file mode.
Back to top
View user's profile Send private message AIM Address
jjgermis



Joined: 21 Jun 2006
Posts: 404
Location: N�rnberg, Germany

PostPosted: Tue Apr 12, 2011 6:31 am    Post subject: Reply with quote

Thanks.

The idea is to avoid a list file, i.e. have some implicit rule in the make file. Using a listfile implies track keeping of two files instead of one.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Support All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group