From 420e3b89918800853533233ee80506f512ead3da 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: Sun, 6 Feb 2022 18:53:19 +0800 Subject: Simplify and use more correct flags --- Makefile.am | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile.am b/Makefile.am index 7964b60..10234ad 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,8 +1,9 @@ lib_LTLIBRARIES = libproductviewer.la libproductviewer_la_SOURCES = viewer.c converter.c -libproductviewer_la_CFLAGS = -I${prefix}/include if APPLE -libproductviewer_la_CFLAGS += -I${prefix}/System/Library/Frameworks/OpenGLES.framework/Headers +libproductviewer_la_CPPFLAGS = -I${prefix}/System/Library/Frameworks/OpenGLES.framework/Headers +else +libproductviewer_la_CPPFLAGS = -I${includedir} endif if WASM libproductviewer_la_LDFLAGS = -static -- cgit v1.2.3