usingIrix = 0
usingLinux = 0
usingFreeBSD = 0
usingDarwin = 0

UNAME = $(shell uname | tr '[:upper:]' '[:lower:]')

ifneq (, $(findstring irix, $(UNAME)))
usingIrix = 1
endif

ifneq (, $(findstring linux, $(UNAME)))
usingLinux = 1
endif

ifneq (, $(findstring freebsd, $(UNAME)))
usingFreeBSD = 1
endif

ifneq (, $(findstring darwin, $(UNAME)))
usingDarwin = 1
endif
