https://github.com/EasyCrypt/easycrypt
Revision 89fb774cbd6b5c9af2ddb19bd7781ddf05def8b8 authored by François Dupressoir on 02 August 2017, 16:25:38 UTC, committed by Pierre-Yves Strub on 28 September 2017, 11:37:51 UTC
1 parent 7cee24f
Raw File
Tip revision: 89fb774cbd6b5c9af2ddb19bd7781ddf05def8b8 authored by François Dupressoir on 02 August 2017, 16:25:38 UTC
exclude examples/incomplete recursively
Tip revision: 89fb774
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