diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 28 |
1 files changed, 8 insertions, 20 deletions
@@ -114,29 +114,17 @@ ifeq ($(TARGET),) TARGET := gtk endif -SUBTARGET = -RESOURCES = +# valid values for the TARGET +VLDTARGET := riscos gtk beos amiga amigaos3 framebuffer windows atari cocoa monkey -ifneq ($(TARGET),riscos) - ifneq ($(TARGET),gtk) - ifneq ($(TARGET),beos) - ifneq ($(findstring amiga,$(TARGET)),amiga) - ifneq ($(TARGET),framebuffer) - ifneq ($(TARGET),windows) - ifneq ($(TARGET),atari) - ifneq ($(TARGET),cocoa) - ifneq ($(TARGET),monkey) - $(error Unknown TARGET "$(TARGET)", should either be "riscos", "gtk", "beos", "amiga", "framebuffer", "windows", "atari" or "cocoa" or "monkey") - endif - endif - endif - endif - endif - endif - endif - endif +# Check for valid TARGET +ifeq ($(filter $(VLDTARGET),$(TARGET)),) + $(error Unknown TARGET "$(TARGET)", Must be one of $(VLDTARGET)) endif +SUBTARGET = +RESOURCES = + PERL=perl MKDIR=mkdir TOUCH=touch |