Index: /trunk/magic/magic/makefile
===================================================================
--- /trunk/magic/magic/makefile	(revision 24099)
+++ /trunk/magic/magic/makefile	(revision 24100)
@@ -4,5 +4,5 @@
 # XXX integrate with the build system
 #
-TARGETS = RemoveStreaks
+TARGETS = DetectStreaks
 SSA_SRC_DIR = ../ssa-core-cpp/src
 CFITSIO_DIR = ../cfitsio
@@ -12,6 +12,6 @@
 
 CXX = c++
+CXXFLAGS = -Wall -g
 CXXFLAGS = -Wall -O3 -DNDEBUG
-#CXXFLAGS = -Wall -g
 
 SRCS = $(TARGETS).cpp $(SSA_SRC_DIR)/math/Constants.cpp
@@ -24,9 +24,9 @@
 
 clean :
-	   - rm $(TARGETS)
+	   -rm -f $(TARGETS)
 
 DESTDIR=$(PSCONFDIR)/$(PSCONFIG)
 
 install:	$(TARGETS)
-	cp RemoveStreaks $(DESTDIR)/bin
-	chmod 755  $(DESTDIR)/bin/RemoveStreaks
+	cp DetectStreaks $(DESTDIR)/bin
+	chmod 755  $(DESTDIR)/bin/DetectStreaks
