mirror of
https://github.com/simh/simh.git
synced 2026-01-13 15:27:14 +00:00
makefile: Add support for building with libpng
This commit is contained in:
parent
9cb2697dcd
commit
650f768843
7
makefile
7
makefile
@ -393,6 +393,13 @@ ifeq ($(WIN32),) #*nix Environments (&& cygwin)
|
||||
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))
|
||||
OS_CCDEFS += -DHAVE_GLOB
|
||||
else
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user