https://github.com/EasyCrypt/easycrypt
Revision 352f5cc930f9e7c427eca9a395aff444e013b959 authored by Pierre-Yves Strub on 04 January 2016, 14:57:38 UTC, committed by Pierre-Yves Strub on 04 January 2016, 14:57:38 UTC
1 parent 00622b9
Raw File
Tip revision: 352f5cc930f9e7c427eca9a395aff444e013b959 authored by Pierre-Yves Strub on 04 January 2016, 14:57:38 UTC
remove trailing whitespaces
Tip revision: 352f5cc
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