shithub: rgbds

Download patch

ref: c0031dad5168c7bbb8d6fe0fc4a2ee27f189e2ee
parent: 50a8bbd414d662dc0d8065eeecc37c195e760962
author: Anthony Bentley <[email protected]>
date: Fri Sep 11 18:01:49 EDT 2009

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.

--- a/Makefile
+++ b/Makefile
@@ -58,7 +58,7 @@
 	gcc $(cflags) -DGAMEBOY -c -o $@ $<
 
 .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
 	cat $^ > $@