Ignore:
Timestamp:
05/09/04 19:17:11 (21 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Makefile

    r3998 r4020  
    9797$(SOLIB): $(LIBRARIES) $(OBJS) $(HEADERS)
    9898        @echo " Linking $(SOLIB) ..."
    99         $(CXX) $(CXXFLAGS) $(DYNLIB) $(OBJS) $(SUBDIRS:=/*.o) $(ROOTGLIBS) -o $@
     99        $(CXX) $(CXXFLAGS) $(SOFLAG) $(OBJS) $(SUBDIRS:=/*.o) $(ROOTGLIBS) -o $@
    100100
    101 $(PROGRAMS): $(SOLIB) $(PROGRAMS:=.o)
     101# This is a special workaround to create the shared object (bundle, plugin)
     102# for root and the dynlib (to be linked with the executable) on Mac OSX
     103$(DYLIB): $(LIBRARIES) $(OBJS) $(HEADERS)
     104        @echo " Linking $(DYLIB) ..."
     105        $(CXX) $(CXXFLAGS) $(DYFLAG) $(OBJS) $(SUBDIRS:=/*.o) $(ROOTGLIBS) -o $@
     106
     107$(PROGRAMS): $(DYLIB) $(PROGRAMS:=.o)
    102108        @echo " Linking $@ ..."
    103         $(CXX) $(CXXFLAGS) $(ROOTGLIBS) $(SOLIB) $@.o $(MARS_LIB) -o $@
     109        $(CXX) $(CXXFLAGS) $(ROOTGLIBS) $(DYLIB) $@.o $(MARS_LIB) -o $@
    104110
    105111dox: $(SOLIB)
Note: See TracChangeset for help on using the changeset viewer.