dnl (c)INRIA 2000 Christophe Lavarenne dnl $Id: C40.m4m,v 1.1 2000/04/17 13:01:46 lavarenn Exp $ divert(-1) # SynDEx v5 Makefile generator for TMS320C40 ifdef(`syndex.m4m_already_included',,`errprint( __file__:__line__: m4: syndex.m4m must be included before __file__! )m4exit(1)') # ------------------------------------------------------------------------ # When this file is loaded, by the processor_ macro defined in syndex.m4m, # the macro appli_() expands to the name of the application, and # the macro procr_() expands to the name of a processor (of type C40), # the macro gateTypes_() expands to the list of gateType.m4x filenames. divert`'dnl ------------------------------------------------------------ ifdef(__file__`_already_included',,`define(__file__`_already_included')dnl %.C40 : %.c cl30 -qq -v40 -mb -mxx -x2 -p? -s -c $< -o $@ %.C40 : %.s asm30 -q -v40 -mb $< -o $@ ')dnl procr_ : procr_.coff coff2sdxbin $< $@ procr_.coff : procr_.C40 $(procr_.libs) cl30 $^ -z C40.ld -o $@ procr_.s : procr_.m4 syndex.m4x C40.m4x appli_.m4x gateTypes_ $(M4) $< >$@ clean :: $(RM) procr_ procr_.coff procr_.C40 procr_.s dnl -------------------------- end of file -----------------------------