dnl (c)INRIA Christophe.Lavarenne@inria.fr dnl $Id$ divert(-1) # SynDEx v5 Makefile generator for 87C196CA 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 196), # the macro gateTypes_() expands to the list of gateType.m4x filenames. divert`'dnl ------------------------------------------------------------ ifdef(__file__`_already_included',,`define(__file__`_already_included')dnl %.196 : %.c gcc96 -o $@ $(CFLAGS) -O2 -c $< %.196 : %.s asm96 -o $@ -c $< ')dnl procr_ : procr_.x x2sdxbin $< $@ procr_.x : procr_.196 $(procr_.libs) rl96 -o $@ $^ -lm --lnkPath $(M4PATH) --lnkScript 196.ld -Map $@.map procr_.s : procr_.m4 syndex.m4x 196.m4x appli_.m4x gateTypes_ $(M4) $< >$@ clean :: $(RM) procr_ procr_.x procr_.196 procr_.s procr_.x.map dnl -------------------------- end of file -----------------------------