Hi,
How do we build the intermediate source files.
Assembly code .s is converted to .is format before .o file is generated.
How to write make file for this? I tried writting the below code, but it
doesn't work.
Object files are listed in a seperate files and included in the make file.
.c files works fine.I am unable to
compile the intermediate file properly.
$(OBJ):%.o:%.c
$(CC) -c $< -o $(OBJDIR)/$@ -via b.txt
$(OBJ1):%.o:%.s $(OBJ2)
$(AS) $< -o $(OBJDIR)/$@ -via b1.txt
$(OBJ2):%.is:%.s
$(CPP) -E $< >$(OBJDIR)/$@ -via b.txt
What is going wrong here?
Any suggestions ?
Regards,
Anil
--
View this message in context:
http://old.nabble.com/compling-intermediate-files-tp28387767p28387767.html
Sent from the Gnu - Make - Help mailing list archive at Nabble.com.
_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make