From dbea417073f08cbc884225a392784abf613d320a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=A6=8C=EA=A6=AB=EA=A6=B6=EA=A6=8F=EA=A7=80=EA=A6=A6?= =?UTF-8?q?=EA=A6=BF=EA=A6=A7=EA=A6=AE=EA=A6=91=EA=A6=A9=EA=A6=AD=EA=A7=80?= Date: Tue, 8 Jun 2021 13:24:57 +0800 Subject: Further generalise the autotools files --- Makefile.am | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index e11069c..ae14fb4 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,3 +1,12 @@ lib_LTLIBRARIES = libproductviewer.la libproductviewer_la_SOURCES = viewer.c converter.c +if APPLE +libproductviewer_la_CFLAGS = -I${prefix}/System/Library/Frameworks/OpenGLES.framework/Headers +endif +if WASM +libproductviewer_la_LDFLAGS = -static +endif +if IOS +libproductviewer_la_LDFLAGS = -static +endif include_HEADERS = productviewer.h -- cgit v1.2.3