mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-15 11:20:03 +00:00
22 lines
475 B
Makefile
22 lines
475 B
Makefile
<$PLAN9/src/mkhdr
|
|
|
|
TARG=`ls *.[cy] | sed 's/\.[cy]//'`
|
|
SHORTLIB=sec fs mux regexp9 thread bio 9
|
|
|
|
<$PLAN9/src/mkmany
|
|
|
|
BUGGERED='CVS|faces|factotum|mailfs|scat|upas|vac|venti|vncv|postscript|mnihongo|mpm|index'
|
|
DIRS=`ls -l |sed -n 's/^d.* //p' |egrep -v "^($BUGGERED)$"`
|
|
|
|
<$PLAN9/src/mkdirs
|
|
|
|
dir-all dir-install: $PLAN9/bin/9yacc
|
|
|
|
%.tab.h %.tab.c: %.y
|
|
$YACC $YFLAGS -s $stem $prereq
|
|
|
|
%.o: %.tab.c
|
|
9c -o $target $stem.tab.c
|
|
|
|
CLEANFILES=$CLEANFILES bc.tab.[ch] units.tab.[ch]
|
|
|