shithub: rgbds

Download patch

ref: e86a70d2cb7fa602373f926ca9cd1f15612c246e
parent: f8531ed41003759e81a42d94dc410e9f725f1532
author: Ben10do <[email protected]>
date: Mon Jan 23 18:46:44 EST 2017

Fix the name of the GNUmakefile

GNU make actually looks for ‘GNUmakefile’, not ‘GNUMakefile’.

Consequently, GNU make would erroneously attempt to use the standard
makefile, instead of the GNU-specific one. This would cause an error
when attempting to import png.h, due to PNGFLAGS not being correctly
set.

--- a/GNUMakefile
+++ /dev/null
@@ -1,6 +1,0 @@
-# GNU Make 3.x doesn't support the "!=" shell syntax, so here's an alternative
-
-PKG_CONFIG = pkg-config
-PNGFLAGS = $(shell ${PKG_CONFIG} --cflags libpng)
-
-include Makefile
--- /dev/null
+++ b/GNUmakefile
@@ -1,0 +1,6 @@
+# GNU Make 3.x doesn't support the "!=" shell syntax, so here's an alternative
+
+PKG_CONFIG = pkg-config
+PNGFLAGS = $(shell ${PKG_CONFIG} --cflags libpng)
+
+include Makefile