aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2000-04-04 08:25:35 +0000
committerGuy Harris <guy@alum.mit.edu>2000-04-04 08:25:35 +0000
commit9a564888ab55eadb75f0228747cdb96c7c238d08 (patch)
tree4ac75f860b9f777f181ec10f924489196e27a12e /plugins
parente59a0d5260523aa2eeafe63a9d8686aea615c048 (diff)
Add "clean" rules in subdirectories, and run subdirectory "nmake -f
Makefile.nmake clean" when "nmake -f Makefile.nmake clean" is done in the top-level directory, so that "nmake -f Makefile.nmake clean" cleans everything up. svn path=/trunk/; revision=1792
Diffstat (limited to 'plugins')
-rw-r--r--plugins/Makefile.nmake4
-rw-r--r--plugins/gryphon/Makefile.nmake3
2 files changed, 7 insertions, 0 deletions
diff --git a/plugins/Makefile.nmake b/plugins/Makefile.nmake
index 1292b55d75..575680f8d1 100644
--- a/plugins/Makefile.nmake
+++ b/plugins/Makefile.nmake
@@ -16,3 +16,7 @@ gryphon::
nmake -f Makefile.nmake
cd ..
+clean:
+ cd gryphon
+ nmake -f Makefile.nmake clean
+ cd ..
diff --git a/plugins/gryphon/Makefile.nmake b/plugins/gryphon/Makefile.nmake
index a94683a344..eaceda1474 100644
--- a/plugins/gryphon/Makefile.nmake
+++ b/plugins/gryphon/Makefile.nmake
@@ -11,3 +11,6 @@ OBJECTS=packet-gryphon.obj
gryphon.dll gryphon.exp gryphon.lib : packet-gryphon.obj ..\plugin_api.obj
link -dll /out:gryphon.dll packet-gryphon.obj ..\plugin_api.obj
+
+clean:
+ rm -f $(OBJECTS) gryphon.dll gryphon.exp gryphon.lib