Revision 7cce8c66981fb289ce0b6652f619da067cb09b9a authored by François Dupressoir on 19 January 2018, 21:32:01 UTC, committed by François Dupressoir on 19 January 2018, 21:32:01 UTC
1 parent 1bca807
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
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...