ref: 3fe2fa43bbc1c96df387e48c90f5d8c2b3cd604c
parent: ede982b50a68a6253ffbab17dc4184710b08032f
author: ISSOtm <eldredhabert0@gmail.com>
date: Wed Dec 9 12:50:49 EST 2020
Switch to GNU Bison as a dependency First step for #595
--- a/.github/actions/install_deps.sh
+++ b/.github/actions/install_deps.sh
@@ -11,4 +11,4 @@
;;
esac
-yacc --version
+bison --version
--- a/Dockerfile
+++ b/Dockerfile
@@ -7,7 +7,7 @@
FROM alpine:latest
RUN apk add --update \
build-base \
- byacc \
+ bison \
libpng-dev
COPY . /rgbds
WORKDIR /rgbds
--- a/Makefile
+++ b/Makefile
@@ -45,7 +45,7 @@
YFLAGS ?=
-YACC := yacc
+BISON := bison
RM := rm -rf
# Rules to build the RGBDS binaries
@@ -114,15 +114,15 @@
# Rules to process files
-# We want the yacc invocations to pass through our rules, not default ones
+# We want the Bison invocations to pass through our rules, not default ones
.y.o:
-# yacc-generated C files have an accompanying header
+# bison-generated C files have an accompanying header
.c.h:
$Qtouch $@
.y.c:
- $Q${YACC} -d ${YFLAGS} -o $@ $<
+ $Q${BISON} -d ${YFLAGS} -o $@ $<
.c.o:
$Q${CC} ${REALCFLAGS} ${PNGCFLAGS} -c -o $@ $<
@@ -206,11 +206,11 @@
# install instructions instead.
mingw32:
- $Qmake CC=i686-w64-mingw32-gcc YACC=bison \
+ $Qmake CC=i686-w64-mingw32-gcc BISON=bison \
PKG_CONFIG=i686-w64-mingw32-pkg-config -j
mingw64:
- $Qmake CC=x86_64-w64-mingw32-gcc YACC=bison \
+ $Qmake CC=x86_64-w64-mingw32-gcc BISON=bison \
PKG_CONFIG=x86_64-w64-mingw32-pkg-config -j
wine-shim: