flat assembler
Message board for the users of flat assembler.

Index > Compiler Internals > include directories

Author
Thread Post new topic Reply to topic
b1528932



Joined: 21 May 2010
Posts: 287
b1528932
can i include all files from a directory?
i like creating 1 file per fnuction and storing them in a directory.
can i do that, i i must use prefixes like:

00_isr_task02_fail.asm
00_isr_task02_success.asm
00_isr_task02_fail_cleanup.asm
Post 26 Jun 2010, 11:40
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 17663
Location: In your JS exploiting you and your system
revolution
b1528932 wrote:
can i include all files from a directory?
You can but you need to have one include directive for each file.
Code:
include '00_isr_task02_fail.asm'
include '00_isr_task02_success.asm'
include '00_isr_task02_fail_cleanup.asm'

;...    
Post 26 Jun 2010, 12:21
View user's profile Send private message Visit poster's website Reply with quote
edemko



Joined: 18 Jul 2009
Posts: 549
edemko
he's might asking about dynamic %include% environment expansion e.g. include 'c:\mydir\'
Post 26 Jun 2010, 15:08
View user's profile Send private message Reply with quote
bitshifter



Joined: 04 Dec 2007
Posts: 764
Location: Massachusetts, USA
bitshifter
You could modify fasm sources to handle wildcards...
Code:
include 'c:\mydir\*.inc'
    
Post 27 Jun 2010, 00:34
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
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
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.

Website powered by rwasa.