Hi,
I am facing some issues while making an archive. I have an exhaustive
build system consisting of various modules and sub-modules. In one
common rules file, I have defined a rule as :
%.o : %.c
@$(ECHO) "\nCOMPILING $< \n"
$(CC) $(CFLAGS) -c $< -o $@
This helps me to make .o. Now I have to archive my .o files.
%.a : ALL OBJECT FILES
@$(ECHO) "\nBUILDING $@ \n"
$(AR) $(ARFLAGS) $@ $^
Any clue? What GENERAL rule can I write? Please note that I have to
write my own rule.
Regards,
Ajay.
_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make