aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authortomsmeding <tom.smeding@gmail.com>2020-09-11 18:09:43 +0200
committertomsmeding <tom.smeding@gmail.com>2020-09-11 18:12:12 +0200
commit002689f2b046b9e29d7a28ad6bb4ec368baacaa4 (patch)
treef2589be343408a602daf509789c29002dfae3b97 /Makefile
parent363c8357e8de4a2478547f1ccbdf9a7038101cec (diff)
Add makefile flag to disable firebase support
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index fe01fb6..1ad882e 100644
--- a/Makefile
+++ b/Makefile
@@ -4,6 +4,10 @@ LDFLAGS := -ldl
CFLAGS += $(shell pkg-config --cflags sqlite3 libsodium)
LDFLAGS += $(shell pkg-config --libs sqlite3 libsodium)
+ifneq ($(NO_FIREBASE),)
+ CFLAGS += -DNO_FIREBASE
+endif
+
TARGETS := tomsg_server
TEST_TARGET := test/main