hbase

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

mkfile (592B)


      1 BIN = lex
      2 LIB = libl.a
      3 OBJ = main.o sub1.o sub2.o sub3.o header.o wcio.o parser.o getopt.o lsearch.o
      4 LOBJ = allprint.o libmain.o reject.o yyless.o yywrap.o \
      5 	allprint_w.o reject_w.o yyless_w.o reject_e.o yyless_e.o
      6 DEPS = yacc
      7 
      8 <$mkbuild/mk.default
      9 
     10 LOCAL_CFLAGS = -DFORMPATH=\"$LIBDIR/lex\"
     11 CLEAN_FILES = parser.c
     12 INSTALL_BIN = lex
     13 INSTALL_MAN1 = lex.1
     14 
     15 WFLAGS = -DEUC -DJLSLEX -DWOPTION
     16 EFLAGS = -DEUC -DJLSLEX -DEOPTION
     17 
     18 %_w.o:Q: %.c
     19 	echo CC $target
     20 	$CC -c $CFLAGS $CPPFLAGS $WFLAGS $prereq -o $target
     21 
     22 %_e.o:Q: %.c
     23 	echo CC $target
     24 	$CC -c $CFLAGS $CPPFLAGS $EFLAGS $prereq -o $target