mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-12 11:10:39 +00:00
Makefile: Update/fix treatment of libpng libraries and headers under Windows and OS X.
git-svn-id: https://svn.eduke32.com/eduke32@2509 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
dbbfb2d73b
commit
5564537510
1 changed files with 6 additions and 2 deletions
|
@ -73,11 +73,15 @@ endif
|
||||||
|
|
||||||
ifneq ($(PLATFORM),WINDOWS)
|
ifneq ($(PLATFORM),WINDOWS)
|
||||||
LIBS+= -ldl -pthread
|
LIBS+= -ldl -pthread
|
||||||
|
ifneq ($(USE_LIBPNG),0)
|
||||||
|
LIBS+= -LWindows/lib -lpng -lz
|
||||||
|
OURCFLAGS+= -IWindows/include
|
||||||
|
endif
|
||||||
endif
|
endif
|
||||||
ifeq ($(PLATFORM),DARWIN)
|
ifeq ($(PLATFORM),DARWIN)
|
||||||
ifneq ($(USE_LIBPNG),0)
|
ifneq ($(USE_LIBPNG),0)
|
||||||
OURCFLAGS+= -I/opt/local/include
|
OURCFLAGS+= -I/opt/local/include -I/usr/local/include
|
||||||
LIBS+= -L/opt/local/lib -lpng
|
LIBS+= -L/opt/local/lib -L/usr/local/lib -lpng
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue