mirror of
https://github.com/open-simh/simh.git
synced 2026-04-29 21:27:07 +00:00
makefile: Add support for building with libpng
This commit is contained in:
7
makefile
7
makefile
@@ -393,6 +393,13 @@ ifeq ($(WIN32),) #*nix Environments (&& cygwin)
|
|||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
ifneq (,$(call find_include,png))
|
||||||
|
ifneq (,$(call find_lib,png))
|
||||||
|
OS_CCDEFS += -DHAVE_LIBPNG
|
||||||
|
OS_LDFLAGS += -lpng
|
||||||
|
$(info using libpng: $(call find_lib,png) $(call find_include,png))
|
||||||
|
endif
|
||||||
|
endif
|
||||||
ifneq (,$(call find_include,glob))
|
ifneq (,$(call find_include,glob))
|
||||||
OS_CCDEFS += -DHAVE_GLOB
|
OS_CCDEFS += -DHAVE_GLOB
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user