mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 10:12:06 +00:00
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.
This commit is contained in:
6
GNUmakefile
Normal file
6
GNUmakefile
Normal file
@@ -0,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
|
||||
Reference in New Issue
Block a user