#
#
#

ifdef WATCOM
TARGET = watcom
FILE   = makefile.wcc
endif

ifdef DJGPP
TARGET = djgpp
FILE   = makefile.dj
endif

ifndef TARGET

ifeq ($(SYSNAME),qnx4)
TARGET = qnx
FILE   = makefile.qnx
else
ifeq ($(OSTYPE),Linux)
TARGET = linux
FILE   = makefile.lin
endif
endif
endif

all: 
	make -f $(FILE)

clean: 
	make -f $(FILE) clean

linux:
	make -f makefile.lin
	
linux_debug:	
	make -f makefile.lin debug
	
qnx:
	make -f makefile.qnx
	
watcom:
	make -f makefile.wcc

djgpp:
	make -f makefile.dj
	