mirror of
https://github.com/pret/pokediamond.git
synced 2026-09-27 19:06:45 -05:00
Update Makefile
This commit is contained in:
@@ -1,14 +1,10 @@
|
||||
CC = gcc
|
||||
|
||||
HAVE_LIBPNG := $(shell pkg-config libpng; echo $?)
|
||||
HAVE_ZLIB := $(shell pkg-config zlib; echo $?)
|
||||
|
||||
ifeq ($(HAVE_LIBPNG),1)
|
||||
$(error No package 'libpng' found)
|
||||
endif
|
||||
ifeq ($(HAVE_ZLIB),1)
|
||||
$(error No package 'zlib' found)
|
||||
endif
|
||||
|
||||
CFLAGS = -Wall -Wextra -Werror -Wno-sign-compare -std=c11 -O2 -DPNG_SKIP_SETJMP_CHECK $(shell pkg-config --cflags libpng zlib)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user