Index: /trunk/MagicSoft/Simulation/Detector/StarResponse/Makefile
===================================================================
--- /trunk/MagicSoft/Simulation/Detector/StarResponse/Makefile	(revision 2375)
+++ /trunk/MagicSoft/Simulation/Detector/StarResponse/Makefile	(revision 2376)
@@ -19,7 +19,7 @@
 #
 # $RCSfile: Makefile,v $
-# $Revision: 1.3 $
+# $Revision: 1.4 $
 # $Author: blanch $ 
-# $Date: 2003-10-03 10:53:41 $
+# $Date: 2003-10-03 11:18:16 $
 #
 ##################################################################
@@ -76,12 +76,4 @@
 #	      directories.
 #
-SUBDIRS = ${INCLUDE_EVITA_BASE} \
-	  ${INCLUDE_EVITA_MC}   \
-	  ${INCLUDE_EVITA_RAW}   \
-	  ${INCLUDE_MARS_MGEOM}
-
-LIBRARIES = $(SUBDIRS:=.a)
-MRPROPERS = $(SUBDIRS:=.mrproper)
-CLEANERS  = $(SUBDIRS:=.clean)
 
 #------------------------------------------------------------------------------
@@ -124,20 +116,8 @@
 	@echo " "
 
-$(PROGRAM): $(LIBRARIES) $(OBJS)
+$(PROGRAM): $(OBJS)
 	@echo " Linking $@ ..."
 	$(CXX) $(CXXFLAGS) $(OBJS) $(LIBS) -o $@
 
-$(LIBRARIES): makefiles
-	@echo " Creating lib$@:"
-	(cd $(@:.a=);make; cd ..)
-
-$(MRPROPERS): makefiles
-	@echo " Doing Mr.Proper in $(@:.mrproper=)"
-	(cd $(@:.mrproper=); (make mrproper > /dev/null); cd ..;) 
-
-
-$(CLEANERS): makefiles
-	@echo "Cleaning $(@:.clean=):"
-	(cd $(@:.clean=); make clean; cd ..;) 
 depend:
 	@makedepend $(SRCS) $(INCLUDES) -fMakefile 2> kk.kk ; cat kk.kk
@@ -155,15 +135,12 @@
 	$(CC) $(CFLAGS) -c $< -o $@
 
-makefiles:
-	@cp Makefile.* ${INCLUDE_EVITA}
-
 lclean:
 	@echo "Cleanning..."
 	@rm -f *.o core 
 
-clean:  $(CLEANERS) rmcint rmobjs
+clean:  rmcint rmobjs
 	@echo "Cleanning...done"
 
-mrproper: clean $(MRPROPERS)
+mrproper: clean 
 	@echo "Mr.Proper in action . . ."
 	@rm -f $(PROGRAM)
