mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 10:12:06 +00:00
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:
2
Makefile
2
Makefile
@@ -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 $^ > $@
|
||||||
|
|||||||
Reference in New Issue
Block a user