TOCLEAN = $(OBJS) *Cint.h *Cint.cxx
+CHECKS = $(patsubst %.cxx,check/%.viol,$(SRCS))
+
############################### General Macros ################################
include $(ALICE_ROOT)/conf/GeneralMacros
TOCLEAN = $(PROGRAM) $(OBJS) $(COBJS) $(FOBJS)
+CHECKS = $(patsubst %.cxx,check/%.viol,$(SRCS))
+
############################### General Macros ################################
include $(ALICE_ROOT)/conf/GeneralMacros
-
-
-
-
-
-
-
-
-
-
-### Target check creates violation reports (.viol), which depend on
-### stripped files (.ii), which in turn depend on preprocessed
-### files (.i). Dependences are in conf/GeneralDef.
-
-CHECKS = $(patsubst %.cxx,check/%.viol,$(SRCS))
-
-check: $(CHECKS)
-
-
-
-
-
-
-
TOCLEAN = $(OBJS) *Cint.cxx *Cint.h
+CHECKS = $(patsubst %.cxx,check/%.viol,$(SRCS))
+
############################### General Macros ################################
include $(ALICE_ROOT)/conf/GeneralMacros
-include tgt_$(ALICE_TARGET)/Make-depend
-### Target check creates violation reports (.viol), which depend on
-### stripped files (.ii), which in turn depend on preprocessed
-### files (.i). Dependences are in conf/GeneralDef.
-
-CHECKS = $(patsubst %.cxx,check/%.viol,$(SRCS))
-
-check: $(CHECKS)
-
TOCLEAN = $(OBJS) *Cint.cxx *Cint.h
+CHECKS = $(patsubst %.cxx,check/%.viol,$(SRCS))
+
############################### General Macros ################################
include $(ALICE_ROOT)/conf/GeneralMacros
-include tgt_$(ALICE_TARGET)/Make-depend
-### Target check creates violation reports (.viol), which depend on
-### stripped files (.ii), which in turn depend on preprocessed
-### files (.i). Dependences are in conf/GeneralDef.
-
-CHECKS = $(patsubst %.cxx,check/%.viol,$(SRCS))
-
-check: $(CHECKS)
-
include $(ALICE_ROOT)/conf/GeneralMacros
+CHECKS = $(patsubst %.cxx,check/%.viol,$(SRCS))
+
############################ Dependencies #####################################
-include tgt_$(ALICE_TARGET)/Make-depend
-### Target check creates violation reports (.viol), which depend on
-### stripped files (.ii), which in turn depend on preprocessed
-### files (.i). Dependences are in conf/GeneralDef.
-
-CHECKS = $(patsubst %.cxx,check/%.viol,$(SRCS))
-
-check: $(CHECKS)
-
TOCLEAN = $(OBJS) *Cint.cxx *Cint.h
+CHECKS = $(patsubst %.cxx,check/%.viol,$(SRCS))
+
############################### General Macros ################################
include $(ALICE_ROOT)/conf/GeneralMacros
TOCLEAN = $(OBJS) $(FOBJS) *Cint.cxx *Cint.h
+CHECKS = $(patsubst %.cxx,check/%.viol,$(SRCS))
+
############################### General Macros ################################
include $(ALICE_ROOT)/conf/GeneralMacros
############################ Dependencies #####################################
-include tgt_$(ALICE_TARGET)/Make-depend
-
-### Target check creates violation reports (.viol), which depend on
-### stripped files (.ii), which in turn depend on preprocessed
-### files (.i). Dependences are in conf/GeneralDef.
-
-CHECKS = $(patsubst %.cxx,check/%.viol,$(SRCS))
-
-check: $(CHECKS)
TOCLEAN = $(OBJS) $(FOBJS) *Cint.cxx *Cint.h
+CHECKS = $(patsubst %.cxx,check/%.viol,$(SRCS))
+
############################### General Macros ################################
include $(ALICE_ROOT)/conf/GeneralMacros
############################ Dependencies #####################################
-include tgt_$(ALICE_TARGET)/Make-depend
-
-
-### Target check creates violation reports (.viol), which depend on
-### stripped files (.ii), which in turn depend on preprocessed
-### files (.i). Dependences are in conf/GeneralDef.
-
-CHECKS = $(patsubst %.cxx,check/%.viol,$(SRCS))
-
-check: $(CHECKS)
TOCLEAN = $(OBJS) *Cint.cxx *Cint.h
+CHECKS = $(patsubst %.cxx,check/%.viol,$(SRCS))
+
############################### General Macros ################################
include $(ALICE_ROOT)/conf/GeneralMacros
-include tgt_$(ALICE_TARGET)/Make-depend
-### Target check creates violation reports (.viol), which depend on
-### stripped files (.ii), which in turn depend on preprocessed
-### files (.i). Dependences are in conf/GeneralDef.
-
-CHECKS = $(patsubst %.cxx,check/%.viol,$(SRCS))
-
-check: $(CHECKS)
-
TOCLEAN = $(OBJS) *Cint.cxx *Cint.h
+CHECKS = $(patsubst %.cxx,check/%.viol,$(SRCS))
+
############################### General Macros ################################
include $(ALICE_ROOT)/conf/GeneralMacros
-include tgt_$(ALICE_TARGET)/Make-depend
-### Target check creates violation reports (.viol), which depend on
-### stripped files (.ii), which in turn depend on preprocessed
-### files (.i). Dependences are in conf/GeneralDef.
-
-CHECKS = $(patsubst %.cxx,check/%.viol,$(SRCS))
-
-check: $(CHECKS)
-
TOCLEAN = $(OBJS) *Cint.h *Cint.cxx
+CHECKS = $(patsubst %.cxx,check/%.viol,$(SRCS))
+
############################### General Macros ################################
include $(ALICE_ROOT)/conf/GeneralMacros
-include tgt_$(ALICE_TARGET)/Make-depend
-### Target check creates violation reports (.viol), which depend on
-### stripped files (.ii), which in turn depend on preprocessed
-### files (.i). Dependences are in conf/GeneralDef.
-
-CHECKS = $(patsubst %.cxx,check/%.viol,$(SRCS))
-
-check: $(CHECKS)
-
TOCLEAN = $(OBJS) *Cint.cxx *Cint.h
+CHECKS = $(patsubst %.cxx,check/%.viol,$(SRCS))
+
############################### General Macros ################################
include $(ALICE_ROOT)/conf/GeneralMacros
-include tgt_$(ALICE_TARGET)/Make-depend
-### Target check creates violation reports (.viol), which depend on
-### stripped files (.ii), which in turn depend on preprocessed
-### files (.i). Dependences are in conf/GeneralDef.
-
-CHECKS = $(patsubst %.cxx,check/%.viol,$(SRCS))
-
-check: $(CHECKS)
-
TOCLEAN = $(OBJS) *Cint.cxx *Cint.h
+CHECKS = $(patsubst %.cxx,check/%.viol,$(SRCS))
+
############################### General Macros ################################
include $(ALICE_ROOT)/conf/GeneralMacros
############################ Dependencies #####################################
-include tgt_$(ALICE_TARGET)/Make-depend
-
-
-### Target check creates violation reports (.viol), which depend on
-### stripped files (.ii), which in turn depend on preprocessed
-### files (.i). Dependences are in conf/GeneralDef.
-
-CHECKS = $(patsubst %.cxx,check/%.viol,$(SRCS))
-
-check: $(CHECKS)
TOCLEAN = $(OBJS) *Cint.cxx *Cint.h
+CHECKS = $(patsubst %.cxx,check/%.viol,$(SRCS))
+
############################### General Macros ################################
include $(ALICE_ROOT)/conf/GeneralMacros
-
-### Target check creates violation reports (.viol), which depend on
-### stripped files (.ii), which in turn depend on preprocessed
-### files (.i). Dependences are in conf/GeneralDef.
-
-CHECKS = $(patsubst %.cxx,check/%.viol,$(SRCS))
-
-check: $(CHECKS)
-
-
-
-
-
-
-
TOCLEAN = $(OBJS) *Cint.cxx *Cint.h
+CHECKS = $(patsubst %.cxx,check/%.viol,$(SRCS))
+
############################### General Macros ################################
include $(ALICE_ROOT)/conf/GeneralMacros
-include tgt_$(ALICE_TARGET)/Make-depend
-### Target check creates violation reports (.viol), which depend on
-### stripped files (.ii), which in turn depend on preprocessed
-### files (.i). Dependences are in conf/GeneralDef.
-
-CHECKS = $(patsubst %.cxx,check/%.viol,$(SRCS))
-
-check: $(CHECKS)
-
TOCLEAN = $(GOBJS) $(JOBJS) $(DOBJS) *Cint.cxx *Cint.h
+CHECKS = $(patsubst %.cxx,check/%.viol,$(GSRCS))
+
############################### General Macros ################################
include $(ALICE_ROOT)/conf/GeneralMacros
-include tgt_$(ALICE_TARGET)/Make-depend
-### Target check creates violation reports (.viol), which depend on
-### stripped files (.ii), which in turn depend on preprocessed
-### files (.i). Dependences are in conf/GeneralDef.
-
-CHECKS = $(patsubst %.cxx,check/%.viol,$(GSRCS))
-
-check: $(CHECKS)
-
TOCLEAN = $(OBJS) *Cint.cxx *Cint.h
+CHECKS = $(patsubst %.cxx,check/%.viol,$(SRCS))
+
############################### General Macros ################################
include $(ALICE_ROOT)/conf/GeneralMacros
############################ Dependencies #####################################
-include tgt_$(ALICE_TARGET)/Make-depend
-
-### Target check creates violation reports (.viol), which depend on
-### stripped files (.ii), which in turn depend on preprocessed
-### files (.i). Dependences are in conf/GeneralDef.
-
-CHECKS = $(patsubst %.cxx,check/%.viol,$(SRCS))
-
-check: $(CHECKS)
TOCLEAN = $(OBJS) *Cint.h *Cint.cxx
+CHECKS = $(patsubst %.cxx,check/%.viol,$(SRCS))
+
############################### General Macros ################################
include $(ALICE_ROOT)/conf/GeneralMacros
############################ Dependencies #####################################
-include tgt_$(ALICE_TARGET)/Make-depend
+-include tgt_$(ALICE_TARGET)/Make-depend
TOCLEAN = $(OBJS) *Cint.h *Cint.cxx
+CHECKS = $(patsubst %.cxx,check/%.viol,$(SRCS))
+
############################### General Macros ################################
include $(ALICE_ROOT)/conf/GeneralMacros
-include tgt_$(ALICE_TARGET)/Make-depend
-### Target check creates violation reports (.viol), which depend on
-### stripped files (.ii), which in turn depend on preprocessed
-### files (.i). Dependences are in conf/GeneralDef.
-
-CHECKS = $(patsubst %.cxx,check/%.viol,$(SRCS))
-
-check: $(CHECKS)
TOCLEAN = $(OBJS) $(FOBJS) *Cint.cxx *Cint.h
+CHECKS = $(patsubst %.cxx,check/%.viol,$(SRCS))
+
############################### General Macros ################################
include $(ALICE_ROOT)/conf/GeneralMacros
-include tgt_$(ALICE_TARGET)/Make-depend
-### Target check creates violation reports (.viol), which depend on
-### stripped files (.ii), which in turn depend on preprocessed
-### files (.i). Dependences are in conf/GeneralDef.
-
-CHECKS = $(patsubst %.cxx,check/%.viol,$(SRCS))
-
-check: $(CHECKS)
-
-
macroclean:
@rm -f $(TOCLEAN) *~ \#*
+
+### Target check creates violation reports (.viol), which depend on
+### stripped files (.ii), which in turn depend on preprocessed
+### files (.i). Dependences are in GeneralDef.
+
+check: $(CHECKS)
+
+.SECONDARY: $(CHECKS:%.viol=%.ii)
\ No newline at end of file