mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-11 07:11: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)
|
||||
LIBS+= -ldl -pthread
|
||||
ifneq ($(USE_LIBPNG),0)
|
||||
LIBS+= -LWindows/lib -lpng -lz
|
||||
OURCFLAGS+= -IWindows/include
|
||||
endif
|
||||
endif
|
||||
ifeq ($(PLATFORM),DARWIN)
|
||||
ifneq ($(USE_LIBPNG),0)
|
||||
OURCFLAGS+= -I/opt/local/include
|
||||
LIBS+= -L/opt/local/lib -lpng
|
||||
OURCFLAGS+= -I/opt/local/include -I/usr/local/include
|
||||
LIBS+= -L/opt/local/lib -L/usr/local/lib -lpng
|
||||
endif
|
||||
endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue