use [b]yacc instead of bison by default

This is scratching my own itch--OpenBSD has byacc in the base
distribution, whereas bison is another program to install.
This commit is contained in:
Anthony Bentley
2009-09-11 22:01:49 -06:00
parent 50a8bbd414
commit c0031dad51

View File

@@ -58,7 +58,7 @@ rgbfix: $(rgbfix_obj)
gcc $(cflags) -DGAMEBOY -c -o $@ $< gcc $(cflags) -DGAMEBOY -c -o $@ $<
.y.c: .y.c:
bison -d -o $@ $^ yacc -d -o $@ $^
src/asm/asmy.y: src/asm/yaccprt1.y src/asm/gameboy/yaccprt2.y src/asm/yaccprt3.y src/asm/gameboy/yaccprt4.y src/asm/asmy.y: src/asm/yaccprt1.y src/asm/gameboy/yaccprt2.y src/asm/yaccprt3.y src/asm/gameboy/yaccprt4.y
cat $^ > $@ cat $^ > $@