Changeset 4025 for trunk


Ignore:
Timestamp:
05/10/04 02:51:58 (20 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Makefile

    r4024 r4025  
    9898        @echo " Linking $(SOLIB) ..."
    9999        $(CXX) $(CXXFLAGS) $(SOFLAG) $(OBJS) $(SUBDIRS:=/*.o) $(ROOTGLIBS) -o $@
     100
    100101# This is a special workaround to create the shared object (bundle, plugin)
    101102# for root and the dynlib (to be linked with the executable) on Mac OSX
    102103ifdef DYFLAG
    103         @echo " Linking $(DYLIB) ..."
    104         $(CXX) $(CXXFLAGS) $(DYFLAG) $(OBJS) $(SUBDIRS:=/*.o) $(ROOTGLIBS) -o $(@:.so=.dylib)
    105 endif
     104$(DYLIB): $(LIBRARIES) $(OBJS) $(HEADERS)
     105        @echo " Linking $(SOLIB) ..."
     106        $(CXX) $(CXXFLAGS) $(DYFLAG) $(OBJS) $(SUBDIRS:=/*.o) $(ROOTGLIBS) -o $@
    106107
     108$(PROGRAMS): $(DYLIB) $(PROGRAMS:=.o)
     109        @echo " Linking $@ ..."
     110        $(CXX) $(CXXFLAGS) $(ROOTGLIBS) $(DYLIB) $@.o $(MARS_LIB) -o $@
     111else
    107112$(PROGRAMS): $(SOLIB) $(PROGRAMS:=.o)
    108113        @echo " Linking $@ ..."
    109114        $(CXX) $(CXXFLAGS) $(ROOTGLIBS) $(SOLIB) $@.o $(MARS_LIB) -o $@
     115endif       
    110116
    111117dox: $(SOLIB)
Note: See TracChangeset for help on using the changeset viewer.