Changeset 4031


Ignore:
Timestamp:
05/10/04 05:24:18 (21 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Makefile

    r4030 r4031  
    9696# ROOTGLIBS must be there - why? How can I link the libraries?
    9797$(SOLIB): $(LIBRARIES) $(OBJS) $(HEADERS)
    98         @echo " Linking $(SOLIB) ..."
     98        @echo " Linking shared object $(SOLIB) ..."
    9999        $(CXX) $(CXXFLAGS) $(SOFLAG) $(OBJS) $(SUBDIRS:=/*.o) $(ROOTGLIBS) -o $@
    100100
    101101# This is a special workaround to create the shared object (bundle, plugin)
    102102# for root and the dynlib (to be linked with the executable) on Mac OSX
    103 ifneq ($DYFLAG,'')
     103ifndef ($DYFLAG)
     104ifneq  ($DYFLAG,)
     105$(PROGRAMS): $(SOLIB) $(PROGRAMS:=.o)
     106        @echo " Linking excutable $@ ..."
     107        $(CXX) $(CXXFLAGS) $(ROOTGLIBS) $(SOLIB) $@.o $(MARS_LIB) -o $@
     108endif
     109endif
     110
     111ifdef ($DYFLAG)
     112ifeq ($DYFLAG,)
    104113$(DYLIB): $(LIBRARIES) $(OBJS) $(HEADERS)
    105         @echo " Linking $(DYLIB) ..."
     114        @echo " Linking dylib $(DYLIB) ..."
    106115        $(CXX) $(CXXFLAGS) $(DYFLAG) $(OBJS) $(SUBDIRS:=/*.o) $(ROOTGLIBS) -o $@
    107116
    108117$(PROGRAMS): $(DYLIB) $(PROGRAMS:=.o)
    109         @echo " Linking $@ ..."
     118        @echo " Linking mac executable $@ ..."
    110119        $(CXX) $(CXXFLAGS) $(ROOTGLIBS) $(DYLIB) $@.o $(MARS_LIB) -o $@
    111 else
    112 $(PROGRAMS): $(SOLIB) $(PROGRAMS:=.o)
    113         @echo " Linking $@ ..."
    114         $(CXX) $(CXXFLAGS) $(ROOTGLIBS) $(SOLIB) $@.o $(MARS_LIB) -o $@
     120endif
    115121endif
    116122
Note: See TracChangeset for help on using the changeset viewer.