From ce2513abb8a7deeeea3e7b9450485b934d82c666 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Tue, 18 Dec 2012 13:24:19 -0500 Subject: [PATCH] Add clean target and test subdir to makefile.nmake --- Makefile.nmake | 10 ++++++++++ src/common/Makefile.nmake | 3 +++ 2 files changed, 13 insertions(+) diff --git a/Makefile.nmake b/Makefile.nmake index 425f1ec262..a0a11ebdb9 100644 --- a/Makefile.nmake +++ b/Makefile.nmake @@ -3,3 +3,13 @@ all: $(MAKE) /F Makefile.nmake cd ../../src/or $(MAKE) /F Makefile.nmake + cd ../../src/test + $(MAKE) /F Makefile.nmake + +clean: + cd src/common + $(MAKE) /F Makefile.nmake clean + cd ../../src/or + $(MAKE) /F Makefile.nmake clean + cd ../../src/test + $(MAKE) /F Makefile.nmake clean diff --git a/src/common/Makefile.nmake b/src/common/Makefile.nmake index 55923d2ebb..9672f4fe9d 100644 --- a/src/common/Makefile.nmake +++ b/src/common/Makefile.nmake @@ -18,3 +18,6 @@ libor-crypto.lib: $(LIBOR_CRYPTO_OBJECTS) libor-event.lib: $(LIBOR_EVENT_OBJECTS) lib $(LIBOR_EVENT_OBJECTS) /out:libor-event.lib + +clean: + del *.obj *.lib libor*.lib