- Timestamp:
- 10/18/13 13:25:32 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Mars/Makefile
r17127 r17246 99 99 SRCFILES = \ 100 100 mcore/izstream.h \ 101 mcore/ ofits.h \101 mcore/factofits.h \ 102 102 mcore/factfits.h \ 103 103 mcore/DrsCalib.h \ … … 126 126 $(SOLIB): $(LIBRARIES) $(OBJS) $(HEADERS) 127 127 @echo " Linking shared object $@ ..." 128 $( CXX) $(CXXFLAGS) $(SOFLAG) $(OBJS) $(SUBDIRS:=/*.o) $(ROOTGLIBS) $(LIBNOVA) -o ${RNDMNAME}128 $(LINKER) $(CXXFLAGS) $(SOFLAG) $(OBJS) $(SUBDIRS:=/*.o) $(ROOTGLIBS) $(LIBNOVA) -o ${RNDMNAME} 129 129 mv ${RNDMNAME} $@ 130 130 chmod go+r $@ … … 135 135 $(PROGRAMS): $(PROGRAMS:=.o) $(SOLIB) 136 136 @echo " Linking $@ ..." 137 $( CXX) $(CXXFLAGS) $@.o $(MARS_LIB) $(SOLIB) $(ROOTGLIBS) -o $@137 $(LINKER) $(CXXFLAGS) $@.o $(MARS_LIB) $(SOLIB) $(ROOTGLIBS) -o $@ 138 138 139 139 # Use this to link the programs statically - for gprof … … 144 144 $(DYLIB): $(LIBRARIES) $(OBJS) $(HEADERS) 145 145 @echo " Linking dylib $(DYLIB) ..." 146 $( CXX) $(CXXFLAGS) $(DYFLAG) $(OBJS) $(SUBDIRS:=/*.o) $(ROOTGLIBS) -o $@146 $(LINKER) $(CXXFLAGS) $(DYFLAG) $(OBJS) $(SUBDIRS:=/*.o) $(ROOTGLIBS) -o $@ 147 147 148 148 $(PROGRAMS): $(PROGRAMS:=.o) $(DYLIB) 149 149 @echo " Linking mac executable $@ ..." 150 $( CXX) $(CXXFLAGS) $(ROOTGLIBS) $(DYLIB) $@.o $(MARS_LIB) -o $@150 $(LINKER) $(CXXFLAGS) $(ROOTGLIBS) $(DYLIB) $@.o $(MARS_LIB) -o $@ 151 151 endif 152 152
Note:
See TracChangeset
for help on using the changeset viewer.