https://github.com/EasyCrypt/easycrypt
Revision 7cee24fefb76ef53179a58541737bbab0b776c04 authored by François Dupressoir on 02 August 2017, 16:25:11 UTC, committed by Pierre-Yves Strub on 28 September 2017, 11:37:51 UTC
1 parent 44ae0e6
Raw File
Tip revision: 7cee24fefb76ef53179a58541737bbab0b776c04 authored by François Dupressoir on 02 August 2017, 16:25:11 UTC
Support recursive exclusions in test targets
Tip revision: 7cee24f
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