Sorry for not vroaching this, I thought it's better to just describe it here.
So, I started a little fun project where I mix cpp and assembler. The assembler part is compiled by NASM. You may grab full sources here if you want to see it: http://home.t-online.de/~zsack/brot.zip
Of course to compile it, you'd need NASM too. It's on sourceforge.
The custom build commands (three units) look like this:
C:\NASM\nasmw -w+orphan-labels -f win32 downfilter.asm -O3 -o downfilter.o
I have 'include in compilation' and 'include in linking' checked.
This perfectly puts the .o into the same place where the c++ compiler puts its outputs. Linking also works fine ... but wait.
*drum roll*
The issue:
I can 'rebuild all', or (which is in effect the same) 'clean' and then 'compile'. No worries. If however, I then 'compile' again (without changes to the asm stuff), I end up with this error message:
[Build Error] no rule to make target 'linker', needed by 'downfilter.o'. Stop.
There are two workarounds:
1)Rebuild all (yeah right)
2)Go to all individual custom build files, hit 'compile current file'. _Then_ remove the checks at 'include in compilation'. Now I can 'compile', but I can no longer 'rebuild all'.
Woot!?
My DevCC is recent. Last version off the downloads section with all core updates available through vUpdate + the current English lang files.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Sorry for not vroaching this, I thought it's better to just describe it here.
So, I started a little fun project where I mix cpp and assembler. The assembler part is compiled by NASM. You may grab full sources here if you want to see it:
http://home.t-online.de/~zsack/brot.zip
Of course to compile it, you'd need NASM too. It's on sourceforge.
The custom build commands (three units) look like this:
C:\NASM\nasmw -w+orphan-labels -f win32 downfilter.asm -O3 -o downfilter.o
I have 'include in compilation' and 'include in linking' checked.
This perfectly puts the .o into the same place where the c++ compiler puts its outputs. Linking also works fine ... but wait.
*drum roll*
The issue:
I can 'rebuild all', or (which is in effect the same) 'clean' and then 'compile'. No worries. If however, I then 'compile' again (without changes to the asm stuff), I end up with this error message:
[Build Error] no rule to make target 'linker', needed by 'downfilter.o'. Stop.
There are two workarounds:
1)Rebuild all (yeah right)
2)Go to all individual custom build files, hit 'compile current file'. _Then_ remove the checks at 'include in compilation'. Now I can 'compile', but I can no longer 'rebuild all'.
Woot!?
My DevCC is recent. Last version off the downloads section with all core updates available through vUpdate + the current English lang files.