dnl (c)INRIA 1999 Christophe.Lavarenne@inria.fr dnl $Id: 386.m4m,v 1.1 2000/04/17 12:59:01 lavarenn Exp $ divert(-1) # SynDEx v5 Makefile generator for i80386 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 386). divert`'dnl ------------------------------------------------------------ ifdef(__file__`_already_included',,`define(__file__`_already_included')dnl CC386=gcc %.386 : %.c $(CC386) -o $@ $(CFLAGS) -O2 -c $< %.386 : %.s $(CC386) -o $@ -c $< ') procr_ : procr_.386 $(procr_.libs) $(CC386) -o $@ $^ -lm procr_.s : procr_.m4 syndex.m4x 386.m4x appli_.m4x gateTypes_ $(M4) $< >$@ clean :: $(RM) procr_ procr_.386 procr_.s dnl -------------------------- end of file -----------------------------