mirror of
https://github.com/WinDurango/Detours.git
synced 2026-01-31 00:55:20 +01:00
45 lines
1.5 KiB
Makefile
45 lines
1.5 KiB
Makefile
##############################################################################
|
|
##
|
|
## 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)
|
|
@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
|
|
@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
|
|
@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
|
|
|
|
################################################################# End of File.
|