Changeset 4025 for trunk/MagicSoft
- Timestamp:
- 05/10/04 02:51:58 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Makefile
r4024 r4025 98 98 @echo " Linking $(SOLIB) ..." 99 99 $(CXX) $(CXXFLAGS) $(SOFLAG) $(OBJS) $(SUBDIRS:=/*.o) $(ROOTGLIBS) -o $@ 100 100 101 # This is a special workaround to create the shared object (bundle, plugin) 101 102 # for root and the dynlib (to be linked with the executable) on Mac OSX 102 103 ifdef 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 $@ 106 107 108 $(PROGRAMS): $(DYLIB) $(PROGRAMS:=.o) 109 @echo " Linking $@ ..." 110 $(CXX) $(CXXFLAGS) $(ROOTGLIBS) $(DYLIB) $@.o $(MARS_LIB) -o $@ 111 else 107 112 $(PROGRAMS): $(SOLIB) $(PROGRAMS:=.o) 108 113 @echo " Linking $@ ..." 109 114 $(CXX) $(CXXFLAGS) $(ROOTGLIBS) $(SOLIB) $@.o $(MARS_LIB) -o $@ 115 endif 110 116 111 117 dox: $(SOLIB)
Note:
See TracChangeset
for help on using the changeset viewer.