Revision 551232cf1345d6f427cbf759524dc677cc8b8527 authored by Pierre-Yves Strub on 17 March 2017, 13:09:42 UTC, committed by Pierre-Yves Strub on 17 March 2017, 13:09:52 UTC
1 parent 2a46a2e
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
Computing file changes ...