blob: e4b442ae2b8ecabf59899c76f388f1d93c3300dc [file] [log] [blame] [edit]
CABAL := cabal
STACK := stack
# Cabal Flags
BUILD_FLAGS +=
INSTALL_FLAGS += --installdir=$(HOME)/.cabal/bin/
MACHINE := $(shell $(CC) -dumpmachine)
ifneq (, $(findstring darwin, $(MACHINE)))
OS:=darwin
else ifneq (, $(findstring cygwin, $(MACHINE)))
OS:=windows
else ifneq (, $(findstring mingw, $(MACHINE)))
OS:=windows
else ifneq (, $(findstring windows, $(MACHINE)))
OS:=windows
else
OS:=unix
endif