Files
ortools-clone/Makefile
lperron@google.com a68f75b9c1 small fixes
2011-04-11 10:46:41 +00:00

28 lines
589 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 build files.
include Makefile.build.cpp
include Makefile.build.python
include Makefile.build.java
# Finally include user makefile if it exists
-include Makefile.user