Index: trunk/magic/Makefile.in
===================================================================
--- trunk/magic/Makefile.in	(revision 24669)
+++ trunk/magic/Makefile.in	(revision 24710)
@@ -2,11 +2,12 @@
 default: all
 
-all: ssa-core-cpp magic
+all: ssa-core-cpp magic remove
 
-install: magic.install 
+install: magic.install remove.install
 
 clean:
-	cd magic && make -f Makefile.magic clean
-	cd ssa-core-cpp && make clean
+	if [ -d magic ]; then (cd magic && make -f Makefile.magic clean); fi
+	if [ -d ssa-core-cpp ]; then (cd ssa-core-cpp && make clean); fi
+	cd $(REMOVE) && make -f Makefile.simple clean
 
 update:
@@ -19,12 +20,28 @@
 
 ssa-core-cpp/build/libSSA.a:
-	cd ssa-core-cpp && ./configure
-	cd ssa-core-cpp && make
+	if [ -d ssa-core-cpp ]; then (cd ssa-core-cpp && ./configure && make); fi
 
 magic: magic/DetectStreaks
 
 magic/DetectStreaks:
-	cd magic && make -f Makefile.magic
+	if [ -d magic ]; then (cd magic && make -f Makefile.magic); fi
 
 magic.install:
-	cd magic && make -f Makefile.magic install
+	if [ -d magic ]; then (cd magic && make -f Makefile.magic install); fi
+
+REMOVE = remove/src
+
+REMOVE_PROGRAMS = \
+$(REMOVE)/isdestreaked \
+$(REMOVE)/streakscompare \
+$(REMOVE)/streaksrelease \
+$(REMOVE)/streaksremove \
+$(REMOVE)/streaksreplace 
+
+remove: $(REMOVE_PROGRAMS)
+
+ $(REMOVE_PROGRAMS):
+	@cd $(REMOVE) && make -f Makefile.simple all
+
+remove.install: remove
+	@cd $(REMOVE) && make -f Makefile.simple install
