summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <prabowo@darapsa.org>2022-10-04 17:00:52 +0800
committerꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <prabowo@darapsa.org>2022-10-04 17:00:52 +0800
commit99bd7dc2d2a4e1c35b09c148bd3afb433ef32460 (patch)
tree8af378560a0e68f998e5c276e7090eecb00c45ff /Makefile.am
Template that compiles
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am12
1 files changed, 12 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
new file mode 100644
index 0000000..5ed6aa5
--- /dev/null
+++ b/Makefile.am
@@ -0,0 +1,12 @@
+lib_LTLIBRARIES = libmidtrans.la
+libmidtrans_la_SOURCES = midtrans.c
+libmidtrans_la_CPPFLAGS = $(JSON_CFLAGS)
+if IOS
+libmidtrans_la_LDFLAGS = -static
+endif
+if WASM
+libmidtrans_la_LDFLAGS = -static
+else
+libmidtrans_la_CPPFLAGS += $(CURL_CFLAGS)
+endif
+include_HEADERS = midtrans.h