Changeset 4024 for trunk/MagicSoft/Mars
- Timestamp:
- 05/10/04 02:46:51 (21 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Makefile
r4021 r4024 22 22 #PROGRAMS = readraw merpp mars test mona status 23 23 PROGRAMS = readdaq readraw merpp star status mars mona 24 DYLIB = libmars.so24 SOLIB = libmars.so 25 25 CINT = M 26 26 … … 98 98 @echo " Linking $(SOLIB) ..." 99 99 $(CXX) $(CXXFLAGS) $(SOFLAG) $(OBJS) $(SUBDIRS:=/*.o) $(ROOTGLIBS) -o $@ 100 101 100 # This is a special workaround to create the shared object (bundle, plugin) 102 101 # for root and the dynlib (to be linked with the executable) on Mac OSX 103 $(DYLIB): $(LIBRARIES) $(OBJS) $(HEADERS) 102 ifdef DYFLAG 104 103 @echo " Linking $(DYLIB) ..." 105 $(CXX) $(CXXFLAGS) $(DYFLAG) $(OBJS) $(SUBDIRS:=/*.o) $(ROOTGLIBS) -o $@ 104 $(CXX) $(CXXFLAGS) $(DYFLAG) $(OBJS) $(SUBDIRS:=/*.o) $(ROOTGLIBS) -o $(@:.so=.dylib) 105 endif 106 106 107 $(PROGRAMS): $( DYLIB) $(PROGRAMS:=.o)107 $(PROGRAMS): $(SOLIB) $(PROGRAMS:=.o) 108 108 @echo " Linking $@ ..." 109 $(CXX) $(CXXFLAGS) $(ROOTGLIBS) $( DYLIB) $@.o $(MARS_LIB) -o $@109 $(CXX) $(CXXFLAGS) $(ROOTGLIBS) $(SOLIB) $@.o $(MARS_LIB) -o $@ 110 110 111 111 dox: $(SOLIB) -
trunk/MagicSoft/Mars/Makefile.conf.darwin
r4021 r4024 30 30 DYFLAG = -dynamiclib 31 31 32 SOLIB = $(DYLIB:.so=.dylib)33 34 32 # For debugging information use '-g' 35 33 # For producing gmon.out use '-pg'
Note:
See TracChangeset
for help on using the changeset viewer.