Try to detect wrong Makefile use.
This commit is contained in:
parent
d31ff55b12
commit
8faff0fd1e
7
Makefile
7
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)
|
||||
|
|
Loading…
Reference in New Issue