swh:1:snp:f92f30fa3090eae65efe8d40c3d27dad22819990
Tip revision: 73afe4fd59a1bb6609c7550047158a58deea2fd1 authored by Benjamin Gregoire on 04 June 2021, 05:35:25 UTC
improve error msg for proc
improve error msg for proc
Tip revision: 73afe4f
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