aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 0720cfa..360ae63 100644
--- a/Makefile
+++ b/Makefile
@@ -30,6 +30,13 @@ else
CFLAGS += "-Dmempool_unref(x)=pool_unref(x)"
endif
+# backend error check
+ifeq ("$(BACKEND)", "")
+error:
+ @echo "Error! no backend configured"
+ @false
+endif
+
# per-backend rules
ifeq ("$(BACKEND)", "dspam-exec")
objs += signature.o