diff options
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 22 |
1 files changed, 16 insertions, 6 deletions
diff --git a/Makefile.am b/Makefile.am index 2929e04..f783d0d 100644 --- a/Makefile.am +++ b/Makefile.am @@ -8,18 +8,28 @@ libicclient_la_SOURCES = \ login.c \ member.c \ admin.c -libicclient_la_CPPFLAGS = -I${prefix}/include -if WASM -libicclient_la_LDFLAGS = -static -else -libicclient_la_LDFLAGS = -lcurl -endif +libicclient_la_CPPFLAGS = -I${prefix}/include $(TIDY_CFLAGS) +libicclient_la_LDFLAGS = $(TIDY_LIBS) if IOS libicclient_la_LDFLAGS += -static endif +if WASM +libicclient_la_LDFLAGS += -static +else +libicclient_la_LDFLAGS += -lcurl +endif include_HEADERS = icclient.h pkginclude_HEADERS = \ icclient/typedefs.h \ icclient/ord.h \ icclient/member.h \ icclient/admin.h +bin_PROGRAMS = icclient +icclient_SOURCES = \ + main.c \ + client.c \ + request.c \ + login.c \ + member.c +icclient_CPPFLAGS = $(TIDY_CFLAGS) +icclient_LDFLAGS = -lcurl $(TIDY_LIBS) |