Make .a libraries for alpha.
[u/mrichter/AliRoot.git] / GEANT321 / Makefile
index d626dbd..8b4dda8 100644 (file)
@@ -63,10 +63,14 @@ FFLAGS      = $(FOPT) $(CLIBFOPT) $(CLIBDEFS) -I.
 SLIBRARY       = $(ALICE_ROOT)/lib/libgeant321.$(SL) $(ALICE_ROOT)/lib/libgxint321.$(SL)
 ALIBRARY       = $(ALICE_ROOT)/lib/libgeant321.a $(ALICE_ROOT)/lib/libgxint321.a
 
-default:       $(SLIBRARY)
-
-$(ALICE_ROOT)/lib/libgeant321.$(SL):  $(GOBJ)
-$(ALICE_ROOT)/lib/libgxint321.$(SL):  $(XOBJ)
+ifeq ($(PLATFORM),alpha)
+       default:        $(ALIBRARY)
+else
+       default:        $(SLIBRARY)
+endif
+
+$(ALICE_ROOT)/lib/libgeant321.$(SL) $(ALICE_ROOT)/lib/libgeant321.a:  $(GOBJ)
+$(ALICE_ROOT)/lib/libgxint321.$(SL) $(ALICE_ROOT)/lib/libgxint321.$(SL):  $(XOBJ)
 
 depend:                        $(SRCS)