mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 10:12:06 +00:00
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.
7 lines
172 B
Makefile
7 lines
172 B
Makefile
# 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
|