flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
NoName_s 23 Jul 2006, 15:12
It is stupid to set evry time in "Makefile" for example:
./fasm 1.asm ./fasm 2.asm 2.o Structure as ./fasm *.asm also not work. |
|||
![]() |
|
kohlrak 23 Jul 2006, 17:03
I don't understand what you're saying... I attributed .asm files with FASM on windows xp and double click works fine.
|
|||
![]() |
|
NoName_s 23 Jul 2006, 18:04
I'm about linux Makefile. And about many asm files. I want compile it with one step:
./fasm *asm or ./fasm 1.asm 2.asm ... |
|||
![]() |
|
kohlrak 23 Jul 2006, 20:00
are you making 1 program or 2? You should only work on 1 project at a time...
|
|||
![]() |
|
crc 01 Aug 2006, 00:16
And what of those of us who work on mixed language projects?
I get by with the existing model, but it would be really handy for people like me if there was a way to do a "fasm *.asm" or "fasm a.asm b.asm ..." |
|||
![]() |
|
rugxulo 01 Aug 2006, 00:22
Do you mean this or something similar (I suspect not but anyways ...)?
Code: .asm.o: @fasm $* (makefiles never seem to have a standard way of doing things, and I'm no pro, so forgive my possible errors) Otherwise, under Windows (or DOS), do this (call is in case fasm refers to a .BAT file): Code: for %a in (*.asm) do call fasm %a |
|||
![]() |
|
crc 01 Aug 2006, 00:31
I don't use make very often, but the shell snippit gives me some ideas... I'll report back if I come up with a satisfactory solution.
|
|||
![]() |
|
crc 01 Aug 2006, 10:54
With tcsh it's not too bad.
Code: #!/bin/tcsh foreach f (*.asm) fasm $f end |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.