1UNAME_INFO := $(shell uname -a)
3ifeq ($(filter , $(findstring MSYS, $(UNAME_INFO)) $(findstring MINGW, $(UNAME_INFO))),)
5 # In MSYS2, when using the mingw version of gcc, there is no cc -> gcc
6 # symlink. We can't use ?= here because CC is set implicitly to cc.
7 # Cross compiling users can set CC to their cross compiler.
15# IDRIS_ENABLE_STATS should not be set in final release
16# Any flags defined here which alter the RTS API must also be added to src/IRTS/CodegenC.hs
17CFLAGS :=-O2 -Wall -std=c99 -pipe -fdata-sections -ffunction-sections -D_POSIX_C_SOURCE=200809L -DHAS_PTHREAD -DIDRIS_ENABLE_STATS $(CFLAGS)
20CABALFLAGS += --enable-tests
21## Disable building of Effects
22#CABALFLAGS :=-f NoEffects $(CABALFLAGS)
25ifneq (, $(findstring bsd, $(MACHINE)))
28 GMP_INCLUDE_DIR :=-I/usr/local/include
31MACHINE := $(shell $(CC) -dumpmachine)
32ifneq (, $(findstring darwin, $(MACHINE)))
34else ifneq (, $(findstring cygwin, $(MACHINE)))
36else ifneq (, $(findstring mingw, $(MACHINE)))
38else ifneq (, $(findstring windows, $(MACHINE)))
46else ifeq ($(OS),windows)
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list