Changeset 2743 in Sophya for trunk/SophyaLib/SUtils
- Timestamp:
- May 20, 2005, 9:57:11 AM (20 years ago)
- Location:
- trunk/SophyaLib/SUtils
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaLib/SUtils/Makefile
r1837 r2743 1 include ../ Mgr/Makefile.h1 include ../BuildMgr/sophyamake.inc 2 2 3 all: $(LIB)libSUtils.a 3 all: $(SOPHYALIBP)libSUtils.a 4 4 5 clean: 5 rm -f $(OBJ)datacards.o $(OBJ)strutilxx.o $(OBJ)utils.o $(OBJ)strutil.o 6 rm -f $(LIB)libSUtils.a 7 $(LIB)libSUtils.a : $(OBJ)datacards.o $(OBJ)strutil.o $(OBJ)strutilxx.o $(OBJ)utils.o 8 $(ARCXX) $(ARCXXFLAGS) $@ $($(ARARGS)) 9 ifeq ($(CXX),cxx) 10 $(CXX) $? $(CPPFLAGS) $(CXXFLAGS) -o $(OBJ)xx.x -Hf 11 endif 6 rm -f $(SOPHYAOBJP)datacards.o $(SOPHYAOBJP)strutilxx.o $(SOPHYAOBJP)utils.o $(SOPHYAOBJP)strutil.o 7 rm -f $(SOPHYALIBP)libSUtils.a 12 8 13 $(OBJ)datacards.o: datacards.cc $(INC)machdefs.h \ 14 datacards.h $(INC)pexceptions.h 15 $(OBJ)strutilxx.o: strutilxx.cc $(INC)machdefs.h \ 16 strutilxx.h 17 $(OBJ)utils.o: utils.cc $(INC)machdefs.h utils.h \ 18 $(INC)pexceptions.h 19 $(OBJ)strutil.o: strutil.c strutil.h 9 $(SOPHYALIBP)libSUtils.a : $(SOPHYAOBJP)datacards.o $(SOPHYAOBJP)strutil.o $(SOPHYAOBJP)strutilxx.o $(SOPHYAOBJP)utils.o 10 $(AR) $(ARFLAGS) $@ $? 11 12 $(SOPHYAOBJP)datacards.o: datacards.cc \ 13 $(SOPHYAINCP)sopnamsp.h \ 14 $(SOPHYAINCP)machdefs.h datacards.h \ 15 $(SOPHYAINCP)pexceptions.h 16 $(CXXCOMPILE) -o $@ $< 17 18 $(SOPHYAOBJP)strutilxx.o: strutilxx.cc \ 19 $(SOPHYAINCP)sopnamsp.h \ 20 $(SOPHYAINCP)machdefs.h strutilxx.h 21 $(CXXCOMPILE) -o $@ $< 22 23 $(SOPHYAOBJP)utils.o: utils.cc $(SOPHYAINCP)sopnamsp.h \ 24 $(SOPHYAINCP)machdefs.h utils.h \ 25 $(SOPHYAINCP)pexceptions.h 26 $(CXXCOMPILE) -o $@ $< 27 28 $(SOPHYAOBJP)strutil.o: strutil.c strutil.h 29 $(CCOMPILE) -o $@ $< 30
Note:
See TracChangeset
for help on using the changeset viewer.