Changeset 4031
- Timestamp:
- 05/10/04 05:24:18 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Makefile
r4030 r4031 96 96 # ROOTGLIBS must be there - why? How can I link the libraries? 97 97 $(SOLIB): $(LIBRARIES) $(OBJS) $(HEADERS) 98 @echo " Linking $(SOLIB) ..."98 @echo " Linking shared object $(SOLIB) ..." 99 99 $(CXX) $(CXXFLAGS) $(SOFLAG) $(OBJS) $(SUBDIRS:=/*.o) $(ROOTGLIBS) -o $@ 100 100 101 101 # This is a special workaround to create the shared object (bundle, plugin) 102 102 # for root and the dynlib (to be linked with the executable) on Mac OSX 103 ifneq ($DYFLAG,'') 103 ifndef ($DYFLAG) 104 ifneq ($DYFLAG,) 105 $(PROGRAMS): $(SOLIB) $(PROGRAMS:=.o) 106 @echo " Linking excutable $@ ..." 107 $(CXX) $(CXXFLAGS) $(ROOTGLIBS) $(SOLIB) $@.o $(MARS_LIB) -o $@ 108 endif 109 endif 110 111 ifdef ($DYFLAG) 112 ifeq ($DYFLAG,) 104 113 $(DYLIB): $(LIBRARIES) $(OBJS) $(HEADERS) 105 @echo " Linking $(DYLIB) ..."114 @echo " Linking dylib $(DYLIB) ..." 106 115 $(CXX) $(CXXFLAGS) $(DYFLAG) $(OBJS) $(SUBDIRS:=/*.o) $(ROOTGLIBS) -o $@ 107 116 108 117 $(PROGRAMS): $(DYLIB) $(PROGRAMS:=.o) 109 @echo " Linking $@ ..."118 @echo " Linking mac executable $@ ..." 110 119 $(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 $@ 120 endif 115 121 endif 116 122
Note:
See TracChangeset
for help on using the changeset viewer.