aboutsummaryrefslogtreecommitdiffhomepage
path: root/ext/detours/Makefile
diff options
context:
space:
mode:
authorAndrzej Janik <[email protected]>2021-01-03 17:52:14 +0100
committerAndrzej Janik <[email protected]>2021-01-03 17:52:14 +0100
commit77523940b39d522adc26b18f00c3373407523c55 (patch)
tree666a5541f635b56d1f56305767a09cab2ae48d81 /ext/detours/Makefile
parentae950163cd05f7a2205740af0acc6e427f0ffd92 (diff)
parentdabc40cb19bf4e297c32284d26c74adbd6775e49 (diff)
downloadZLUDA-77523940b39d522adc26b18f00c3373407523c55.tar.gz
ZLUDA-77523940b39d522adc26b18f00c3373407523c55.zip
Merge commit 'dabc40cb19bf4e297c32284d26c74adbd6775e49' as 'ext/detours'
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.