Files
ortools-clone/Makefile
lperron@google.com 70a8a3e46b rename sub makefiles
2011-07-14 23:27:43 +00:00

28 lines
578 B
Makefile

# Let's discover something about where we run
ifeq "$(SHELL)" "cmd.exe"
SYSTEM=win
else
ifeq "$(SHELL)" "sh.exe"
SYSTEM=win
else
SYSTEM=unix
endif
endif
# First, we include predefined variables
include Makefile.def
# Then we overwrite the local ones if the Makefile.local file exists.
-include Makefile.local
# Then include specific system commands and definitions
include Makefile.$(SYSTEM)
# Include .mk files.
include Makefile.cpp.mk
include Makefile.python.mk
include Makefile.java.mk
# Finally include user makefile if it exists
-include Makefile.user