diff options
author | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2022-02-06 18:53:19 +0800 |
---|---|---|
committer | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2022-02-06 18:53:19 +0800 |
commit | 420e3b89918800853533233ee80506f512ead3da (patch) | |
tree | 076232372151534e8d89d02efe58af75a6b3287a | |
parent | cdf0ef4b97b68b00abb1049487d87ca9c394bae6 (diff) |
Simplify and use more correct flags
-rw-r--r-- | Makefile.am | 5 |
1 files 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 |