summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJohns <johns98@gmx.net>2013-02-11 14:41:19 +0100
committerJohns <johns98@gmx.net>2013-02-11 14:41:19 +0100
commit8faff0fd1e559ce067bfc4e95df81d943310f8aa (patch)
tree569cd979bdf86ab6e45b15e36fa5969e17088647 /Makefile
parentd31ff55b12daf71d49b4cab06272b1d3e75f4272 (diff)
downloadvdr-plugin-softhddevice-8faff0fd1e559ce067bfc4e95df81d943310f8aa.tar.gz
vdr-plugin-softhddevice-8faff0fd1e559ce067bfc4e95df81d943310f8aa.tar.bz2
Try to detect wrong Makefile use.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 57c82b3..93a1aba 100644
--- a/Makefile
+++ b/Makefile
@@ -83,6 +83,13 @@ TMPDIR ?= /tmp
export CFLAGS = $(call PKGCFG,cflags)
export CXXFLAGS = $(call PKGCFG,cxxflags)
+ifeq ($(CFLAGS),)
+$(error CFLAGS not set)
+endif
+ifeq ($(CXXFLAGS),)
+$(error CXXFLAGS not set)
+endif
+
### The version number of VDR's plugin API:
APIVERSION = $(call PKGCFG,apiversion)