aboutsummaryrefslogtreecommitdiffhomepage
path: root/ext/detours/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'ext/detours/Makefile')
-rw-r--r--ext/detours/Makefile63
1 files changed, 63 insertions, 0 deletions
diff --git a/ext/detours/Makefile b/ext/detours/Makefile
new file mode 100644
index 0000000..78ef9d0
--- /dev/null
+++ b/ext/detours/Makefile
@@ -0,0 +1,63 @@
+##############################################################################
+##
+## Makefile for Detours.
+##
+## Microsoft Research Detours Package
+##
+## Copyright (c) Microsoft Corporation. All rights reserved.
+##
+
+ROOT = .
+!include "$(ROOT)\system.mak"
+
+all:
+ cd "$(MAKEDIR)"
+ @if exist "$(MAKEDIR)\core\makefile" cd "$(MAKEDIR)\core" && $(MAKE) /NOLOGO /$(MAKEFLAGS)
+ cd "$(MAKEDIR)\src"
+ @$(MAKE) /NOLOGO /$(MAKEFLAGS)
+ cd "$(MAKEDIR)\samples"
+ @$(MAKE) /NOLOGO /$(MAKEFLAGS)
+ cd "$(MAKEDIR)\tests"
+ @$(MAKE) /NOLOGO /$(MAKEFLAGS)
+ @if exist "$(MAKEDIR)\bugs\makefile" cd "$(MAKEDIR)\bugs" && $(MAKE) /NOLOGO /$(MAKEFLAGS)
+ cd "$(MAKEDIR)"
+
+clean:
+ cd "$(MAKEDIR)"
+ @if exist "$(MAKEDIR)\core\makefile" cd "$(MAKEDIR)\core" && $(MAKE) /NOLOGO /$(MAKEFLAGS) clean
+ cd "$(MAKEDIR)\src"
+ @$(MAKE) /NOLOGO /$(MAKEFLAGS) clean
+ cd "$(MAKEDIR)\samples"
+ @$(MAKE) /NOLOGO /$(MAKEFLAGS) clean
+ cd "$(MAKEDIR)\tests"
+ @$(MAKE) /NOLOGO /$(MAKEFLAGS) clean
+ @if exist "$(MAKEDIR)\bugs\makefile" cd "$(MAKEDIR)\bugs" && $(MAKE) /NOLOGO /$(MAKEFLAGS) clean
+ cd "$(MAKEDIR)"
+
+realclean: clean
+ cd "$(MAKEDIR)"
+ @if exist "$(MAKEDIR)\core\makefile" cd "$(MAKEDIR)\core" && $(MAKE) /NOLOGO /$(MAKEFLAGS) realclean
+ cd "$(MAKEDIR)\src"
+ @$(MAKE) /NOLOGO /$(MAKEFLAGS) realclean
+ cd "$(MAKEDIR)\samples"
+ @$(MAKE) /NOLOGO /$(MAKEFLAGS) realclean
+ cd "$(MAKEDIR)\tests"
+ @$(MAKE) /NOLOGO /$(MAKEFLAGS) realclean
+ @if exist "$(MAKEDIR)\bugs\makefile" cd "$(MAKEDIR)\bugs" && $(MAKE) /NOLOGO /$(MAKEFLAGS) realclean
+ cd "$(MAKEDIR)"
+ -rmdir /q /s $(INCDS) 2> nul
+ -rmdir /q /s $(LIBDS) 2> nul
+ -rmdir /q /s $(BINDS) 2> nul
+ -rmdir /q /s dist 2> nul
+ -del docsrc\detours.chm 2> nul
+ -del /q *.msi 2>nul
+ -del /q /f /s *~ 2>nul
+
+test:
+ cd "$(MAKEDIR)\samples"
+ @$(MAKE) /NOLOGO /$(MAKEFLAGS) test
+ cd "$(MAKEDIR)\tests"
+ @$(MAKE) /NOLOGO /$(MAKEFLAGS) test
+ cd "$(MAKEDIR)"
+
+################################################################# End of File.