https://github.com/EasyCrypt/easycrypt
Revision aab3b782d32b7fc9a9aff85f17d3667ded65f171 authored by François Dupressoir on 12 May 2020, 12:43:29 UTC, committed by François Dupressoir on 12 May 2020, 13:02:30 UTC
1 parent 9501cd4
Tip revision: aab3b782d32b7fc9a9aff85f17d3667ded65f171 authored by François Dupressoir on 12 May 2020, 12:43:29 UTC
do it right
do it right
Tip revision: aab3b78
Makefile.system
# -*- Makefile -*-
# --------------------------------------------------------------------
OCAML := $(shell ocamlbuild -which ocamlc 2>/dev/null || echo false)
CC := gcc
TAR := tar
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 Darwin,$(UNAME)))
TAR := gtar
endif
ifneq (,$(findstring mingw,$(MACHINE)))
EXE := .exe
endif
ifneq (,$(findstring cygwin,$(MACHINE)))
EXE := .exe
endif
Computing file changes ...