Diff for /gforth/vmgen-ex/Makefile between versions 1.3 and 1.10

version 1.3, 2001/04/29 18:41:58 version 1.10, 2003/03/09 15:17:08
Line 1 Line 1
 #Makefile for vmgen example  #Makefile for vmgen example
   
 #Copyright (C) 2001 Free Software Foundation, Inc.  #Copyright (C) 2001,2003 Free Software Foundation, Inc.
   
 #This file is part of Gforth.  #This file is part of Gforth.
   
Line 22  LEX=flex -l Line 22  LEX=flex -l
 YACC=bison  YACC=bison
 #YACC=yacc  #YACC=yacc
 VMGEN=vmgen  VMGEN=vmgen
   #GCC=gcc -g -Wall
 GCC=gcc -O3 -fomit-frame-pointer -Wall  GCC=gcc -O3 -fomit-frame-pointer -Wall
 CC=$(GCC)  CC=$(GCC)
   #M4=m4 -s #recommended if supported
   M4=m4
   OBJECTS_MINI=mini.tab.o support.o peephole.o profile.o disasm.o engine.o engine-debug.o
   
 mini: mini.tab.o support.o peephole.o profile.o disasm.o engine.o engine-debug.o  mini: $(OBJECTS_MINI)
         $(CC) $^ -o $@          $(CC) $(OBJECTS_MINI) -o $@
   
 lex.yy.c: mini.l  lex.yy.c: mini.l
         $(LEX) mini.l          $(LEX) mini.l
Line 37  mini.tab.c: mini.y Line 41  mini.tab.c: mini.y
 mini-vm.i mini-disasm.i mini-gen.i mini-labels.i mini-profile.i mini-peephole.i: mini.vmg  mini-vm.i mini-disasm.i mini-gen.i mini-labels.i mini-profile.i mini-peephole.i: mini.vmg
         $(VMGEN) mini.vmg          $(VMGEN) mini.vmg
   
   mini.vmg: mini-inst.vmg mini-super.vmg
           $(M4) mini-inst.vmg >$@
   
 mini.tab.o: mini.tab.c mini-gen.i lex.yy.c mini.h  mini.tab.o: mini.tab.c mini-gen.i lex.yy.c mini.h
   
 support.o: support.c mini.h  support.o: support.c mini.h
Line 50  disasm.o: disasm.c mini-disasm.i mini.h Line 57  disasm.o: disasm.c mini-disasm.i mini.h
 engine.o: engine.c mini-vm.i mini-labels.i mini.h  engine.o: engine.c mini-vm.i mini-labels.i mini.h
   
 engine-debug.o: engine.c mini-vm.i mini-labels.i mini.h  engine-debug.o: engine.c mini-vm.i mini-labels.i mini.h
         $(GCC) -DVM_DEBUG -DVM_PROFILING -Dengine=engine_debug -c -o $@ $<          $(CC) -DVM_DEBUG -DVM_PROFILING -Dengine=engine_debug -c -o $@ engine.c
   
 clean:  clean:
         rm -f *.o mini mini-*.i lex.yy.c mini.tab.c          rm -f *.o mini mini-*.i lex.yy.c mini.tab.c mini.vmg xxx-bench
   
 check:  mini  check:  mini
         ./mini test.mini|diff - test.out          ./mini test.mini | tr -d '\015' | diff - test.out
   
   checkall:
           for i in 1 3 5 8 9 10; do make clean; echo $i; make check VMGEN=../vmgen CC="gcc -O3 -fomit-frame-pointer -Wall -DTHREADING_SCHEME=$i"; echo $i >>xxx-bench; time mini fib.mini 2>>xxx-bench; done; cat xxx-bench
   
   #make profiles
   %.prof: %.mini mini
           ./mini -p $< 2>$@

Removed from v.1.3  
changed lines
  Added in v.1.10


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>