https://github.com/EasyCrypt/easycrypt
Revision 5b2f5a7a33c740201e856e17b073b820a9916f6e authored by Pierre-Yves Strub on 12 February 2018, 17:08:40 UTC, committed by Pierre-Yves Strub on 12 February 2018, 17:08:40 UTC
1 parent b622d44
Raw File
Tip revision: 5b2f5a7a33c740201e856e17b073b820a9916f6e authored by Pierre-Yves Strub on 12 February 2018, 17:08:40 UTC
update copyrights
Tip revision: 5b2f5a7
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