https://github.com/EasyCrypt/easycrypt
Revision 4f6f2f1a70b34d9c25335a7a057b226dad106017 authored by Pierre-Yves Strub on 18 August 2015, 11:25:40 UTC, committed by Pierre-Yves Strub on 18 August 2015, 11:25:40 UTC
1 parent b207729
Raw File
Tip revision: 4f6f2f1a70b34d9c25335a7a057b226dad106017 authored by Pierre-Yves Strub on 18 August 2015, 11:25:40 UTC
Update license info.
Tip revision: 4f6f2f1
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