TARGET ?=
DIST ?=
PREFIX ?= /usr/tms
ifeq ("$(TARGET)", "")
TARGET = $(shell cut -d " " -f1 /etc/bsystype.txt)
endif
ifeq ("$(DIST)", "")
DIST = $(shell cut -d " " -f2 /etc/bsystype.txt)
endif
ifeq ("$(TARGET)", "")
$(error TARGET not defined)
endif
ifeq ("$(DIST)", "")
$(error DIST not defined)
endif
# Build Settings