AnsweredAssumed Answered

command to assemble in a makefile:

Question asked by Raghav Sarma on Mar 22, 2007
Latest reply on Mar 22, 2007 by CompilerGuru
Hallo,
 
I'm building my application by using make and not sure of the command to convert an assembly file, Do_On_Stack.asm, to an object file - Do_On_Stack.o using the assembler.
 
i.e. the command in the makefile will be something like:
 
Do_On_Stack.o : Do_On_Stack.asm
                       $(ASSEMBLER) XXXX
 
where: (ASSEMBLER) - is a variable pointing to the location of the assembler exe file ahc12.exe and XXX are the instructions that I'm looking for.
 
What is this command and what arguments, options must be given to the assembler? I'm using the cygwin shell which attempts to provide unix like functionality on a Windows machine.
 
Raghav
 

Outcomes