CPPFLAGS += -DALICE_VISUALIZE
endif
-ifdef AG4_STACKING
- CPPFLAGS += -DALICE_STACKING
-endif
-
-ifdef AG4_NOPHYSICS
- CPPFLAGS += -DALICE_EMPTY_PHYSICS_LIST
-endif
-
#
# C++ compilation flags
#
endif
+ifeq ($(ALICE_TARGET),SunOS)
+
+ # Excluded of +w option
+ # in order to exclude warnings from G4
+ CXXOPTS := $(filter-out +w,$(CXXOPTS))
+
+endif
+
#
# Geant4 include paths
#
@[ -d $(dir $@) ] || mkdir $(dir $@)
@cp -p $? $(ALICE_ROOT)/include
+tgt_$(ALICE_TARGET)/%Cint.o : %Cint.cxx
+ @echo $*Cint.cxx
+ @[ -d $(dir $@) ] || mkdir -p $(dir $@)
+ifeq ($(CXXVERBOSE),)
+ @$(CXX) $(filter-out -O%, $(CXXFLAGS)) -c $*Cint.cxx -o tgt_$(ALICE_TARGET)/$*Cint.o
+else
+ $(CXX) $(filter-out -O%, $(CXXFLAGS)) -c $*Cint.cxx -o tgt_$(ALICE_TARGET)/$*Cint.o
+endif
+
tgt_$(ALICE_TARGET)/%.o : %.cxx
+ @echo $*.cxx
@[ -d $(dir $@) ] || mkdir -p $(dir $@)
ifeq ($(CXXVERBOSE),)
@$(CXX) $(CXXFLAGS) -c $*.cxx -o tgt_$(ALICE_TARGET)/$*.o
@$(CODE_CHECK) check/$*.i ./ > check/$*.viol
tgt_$(ALICE_TARGET)/%.o : %.c
+ @echo %.c
@[ -d $(dir $@) ] || mkdir -p $(dir $@)
@$(CC) $(CFLAGS) -c $*.c -o tgt_$(ALICE_TARGET)/$*.o
tgt_$(ALICE_TARGET)/%.o : %.f
+ @echo %.f
@[ -d $(dir $@) ] || mkdir -p $(dir $@)
@$(F77) $(FFLAGS) -c $*.f -o tgt_$(ALICE_TARGET)/$*.o
tgt_$(ALICE_TARGET)/%.o : %.F
+ @echo %.F
@[ -d $(dir $@) ] || mkdir -p $(dir $@)
@$(F77) $(FFLAGS) -c $*.F -o tgt_$(ALICE_TARGET)/$*.o