https://github.com/EasyCrypt/easycrypt
Revision 8ab49863e198a8c8c6c8c4daf3f176ee56045863 authored by Alley Stoughton on 22 February 2018, 18:54:57 UTC, committed by Pierre-Yves Strub on 26 February 2018, 15:04:53 UTC
1 parent 9e2c45b
Raw File
Tip revision: 8ab49863e198a8c8c6c8c4daf3f176ee56045863 authored by Alley Stoughton on 22 February 2018, 18:54:57 UTC
Fixed mistake wrt oiter.
Tip revision: 8ab4986
Makefile.system
# -*- Makefile -*-

# --------------------------------------------------------------------
OCAML    := $(shell ocamlbuild -which ocamlc 2>/dev/null || echo false)
CC       := gcc
MACHINE  := $(shell $(OCAML) -ccopt -dumpmachine dummy.c 2>/dev/null)
UNAME    := $(shell uname -s)
EXE      :=

ifneq (,$(findstring CYGWIN,$(UNAME)))
  CC = $(MACHINE)-gcc
endif

ifneq (,$(findstring mingw,$(MACHINE)))
EXE := .exe
endif

ifneq (,$(findstring cygwin,$(MACHINE)))
EXE := .exe
endif
back to top