Changeset 76 for trunk/src/Makefile
- Timestamp:
- Sep 29, 2005 11:45:32 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/Makefile
r73 r76 27 27 # 28 28 CC = gcc 29 C PP= g++29 CXX = g++ 30 30 DEBUG = -g -Wall 31 31 DEBUG_PLUS = -g -DDEBUG … … 93 93 #### librappture shared object ########################################### 94 94 95 librappture: rappture_fortran.o rappture_interface.o RpUnitsCInterface.o RpUnits Std.o RpUnits.o96 $(C PP) $(DEGUG) -shared -Wl,-rpath,$(LIB_DIR)/ \95 librappture: rappture_fortran.o rappture_interface.o RpUnitsCInterface.o RpUnitsFInterface.o RpFortranCommon.o RpUnitsStd.o RpUnits.o 96 $(CXX) $(DEGUG) -shared -Wl,-rpath,$(LIB_DIR)/ \ 97 97 -Wl,-soname,$@.so -o $(LIB_DIR)/$@.so.0.0 $^ $(EMB_PY_FLAGS) 98 98 … … 102 102 #### libRpObjects ######################################################## 103 103 libRpObjects: RpVariable.o RpAbout.o RpNumber.o RpString.o RpBoolean.o RpChoice.o RpOption.o RpUnitsStd.o RpUnits.o 104 $(C PP) $(DEGUG) -shared -Wl,-rpath,$(LIB_DIR)/ \104 $(CXX) $(DEGUG) -shared -Wl,-rpath,$(LIB_DIR)/ \ 105 105 -Wl,-soname,$@.so -o $(LIB_DIR)/$@.so.0.0 $^ -lc 106 106 … … 110 110 # include core source files 111 111 112 Rp%.o: $(CORE_SRC)/Rp%.cc 113 $(CPP) -fPIC $(DEBUG) $(INCL_CORE) -o $@ -c $? 112 RpVariable.o: $(CORE_SRC)/RpVariable.cc 113 $(CXX) -fPIC $(DEBUG) $(INCL_CORE) -o $@ -c $? 114 115 RpAbout.o: $(CORE_SRC)/RpAbout.cc 116 $(CXX) -fPIC $(DEBUG) $(INCL_CORE) -o $@ -c $? 117 118 RpNumber.o: $(CORE_SRC)/RpNumber.cc 119 $(CXX) -fPIC $(DEBUG) $(INCL_CORE) -o $@ -c $? 120 121 RpString.o: $(CORE_SRC)/RpString.cc 122 $(CXX) -fPIC $(DEBUG) $(INCL_CORE) -o $@ -c $? 123 124 RpBoolean.o: $(CORE_SRC)/RpBoolean.cc 125 $(CXX) -fPIC $(DEBUG) $(INCL_CORE) -o $@ -c $? 126 127 RpChoice.o: $(CORE_SRC)/RpChoice.cc 128 $(CXX) -fPIC $(DEBUG) $(INCL_CORE) -o $@ -c $? 129 130 RpOption.o: $(CORE_SRC)/RpOption.cc 131 $(CXX) -fPIC $(DEBUG) $(INCL_CORE) -o $@ -c $? 132 133 RpUnitsStd.o: $(CORE_SRC)/RpUnitsStd.cc 134 $(CXX) -fPIC $(DEBUG) $(INCL_CORE) -o $@ -c $? 135 136 RpUnits.o: $(CORE_SRC)/RpUnits.cc 137 $(CXX) -fPIC $(DEBUG) $(INCL_CORE) -o $@ -c $? 138 139 140 114 141 115 142 # include cee binding definitions 116 143 117 144 rappture_interface.o: $(CEE_SRC)/rappture_interface.c 118 $(C PP) -fPIC $(DEBUG) $(INCL_CEE) $(INCL_PY) -o $@ -c $<145 $(CXX) -fPIC $(DEBUG) $(INCL_CEE) $(INCL_PY) -o $@ -c $< 119 146 120 147 RpUnitsCInterface.o: $(CEE_SRC)/RpUnitsCInterface.cc 121 $(CPP) $(CFLAGS) -fPIC $(DEBUG) $(INCL_CORE) $(INCL_CEE) -o $@ -c $? 148 $(CXX) $(CFLAGS) -fPIC $(DEBUG) $(INCL_CORE) $(INCL_CEE) -o $@ -c $? 149 150 151 122 152 123 153 # include fortran binding definitions 124 154 125 RpUnits_fortran.o: $(FORT_SRC)/RpUnits_fortran.c126 $(C PP) $(CFLAGS) -fPIC $(DEBUG) $(INCL_CORE) -o $@ -c $?155 rappture_fortran.o: $(FORT_SRC)/rappture_fortran.c 156 $(CXX) $(CFLAGS) -fPIC $(DEBUG) $(INCL_FORTRAN) $(INCL_CORE) $(INCL_CEE) $(INCL_PY) -o $@ -c $< 127 157 128 rappture_fortran.o: $(FORT_SRC)/rappture_fortran.c 129 $(CPP) $(CFLAGS) -fPIC $(DEBUG) $(INCL_CORE) $(INCL_CEE) $(INCL_PY) -o $@ -c $< 158 RpUnitsFInterface.o: $(FORT_SRC)/RpUnitsFInterface.cc 159 $(CXX) $(CFLAGS) -fPIC $(DEBUG) $(INCL_CORE) $(INCL_FORTRAN) -o $@ -c $? 160 161 RpFortranCommon.o: $(FORT_SRC)/RpFortranCommon.c 162 $(CC) $(CFLAGS) -fPIC $(DEBUG) $(INCL_FORTRAN) -o $@ -c $< 163 164 165 130 166 131 167 #### CLEAN UP ############################################################
Note: See TracChangeset
for help on using the changeset viewer.