build: Add guards to ensure GNU Make is used

This commit is contained in:
mintsuki 2021-10-21 03:03:21 +02:00
parent 3ff618f1eb
commit 820921a424
3 changed files with 12 additions and 0 deletions

View File

@ -1,3 +1,7 @@
ifneq (,)
This makefile requires GNU Make.
endif
PREFIX ?= /usr/local
DESTDIR ?=

View File

@ -1,3 +1,7 @@
ifneq (,)
This makefile requires GNU Make.
endif
BUILDDIR =
ifeq ($(BUILDDIR), )

View File

@ -1,3 +1,7 @@
ifneq (,)
This makefile requires GNU Make.
endif
TARGET =
BUILDDIR =