Jim Cownie | 5e8470a | 2013-09-27 10:38:44 +0000 | [diff] [blame] | 1 | # |
| 2 | #//===----------------------------------------------------------------------===// |
| 3 | #// |
| 4 | #// The LLVM Compiler Infrastructure |
| 5 | #// |
| 6 | #// This file is dual licensed under the MIT and the University of Illinois Open |
| 7 | #// Source Licenses. See LICENSE.txt for details. |
| 8 | #// |
| 9 | #//===----------------------------------------------------------------------===// |
| 10 | # |
| 11 | |
| 12 | export SHELL = cmd |
| 13 | |
| 14 | # TODO give an error if archs doesn't match |
| 15 | ifndef arch |
| 16 | $(error Could not detect arch: please specify on command line.) |
| 17 | endif |
| 18 | |
| 19 | |
| 20 | CMD=cmd /C |
| 21 | CWD=$(shell cmd /C echo %CD%) |
| 22 | RM=cmd /C del /Q /F |
| 23 | RD=cmd /C rmdir |
| 24 | MD=cmd /c mkdir |
| 25 | SLASH=\\ |
| 26 | NUL = nul |
| 27 | |