# Shell script works for Linux and Windows
# Thomas Braunl, March 2004

# Detect if running on Unix or DOS.  'ver' exists on DOS only
ifeq ($(shell ver),)
 PLATFORM = UNIX
 COPY = cp -f
 RM = rm -f
 TMPDIR = /tmp

else
 PLATFORM = DOS/Windows
 COPY    = copy
 RM      = del
 TMPDIR  = .
endif
