[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [tor/master] Add clean target and test subdir to makefile.nmake



commit ce2513abb8a7deeeea3e7b9450485b934d82c666
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
Date:   Tue Dec 18 13:24:19 2012 -0500

    Add clean target and test subdir to makefile.nmake
---
 Makefile.nmake            |   10 ++++++++++
 src/common/Makefile.nmake |    3 +++
 2 files changed, 13 insertions(+), 0 deletions(-)

diff --git a/Makefile.nmake b/Makefile.nmake
index 425f1ec..a0a11eb 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 55923d2..9672f4f 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



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits