hbase

heirloom base
git clone git://git.2f30.org/hbase
Log | Files | Refs | README

mkfile (523B)


      1 BIN = awk
      2 OBJ = ytab.o lex.o b.o main.o parse.o proctab.o tran.o lib.o run.o
      3 INSTALL_BIN = awk
      4 INSTALL_MAN1 = awk.1
      5 LOCAL_LDFLAGS = -lm
      6 CLEAN_FILES = ytab.c ytab.h proctab.c gen/maketab
      7 DEPS = yacc
      8 
      9 <$mkbuild/mk.default
     10 
     11 ytab:VQ: awkgram.y
     12 	echo YACC -d $prereq
     13 	$YACC -d $prereq
     14 	mv y.tab.c ytab.c
     15 	mv y.tab.h ytab.h
     16 
     17 ytab.c: ytab
     18 	
     19 ytab.h: ytab
     20 	
     21 proctab.c:VQ: gen/maketab
     22 	echo MAKETAB proctab.c
     23 	gen/maketab ytab.h >proctab.c
     24 
     25 gen/maketab:VQ: ytab.h gen/maketab.c
     26 	echo HOSTCC $target
     27 	$HOSTCC gen/maketab.c -o $target