Return to objects-unix.mak CVS log | Up to [Pegasus] / pegasus / mak |
File: [Pegasus] / pegasus / mak / objects-unix.mak
(download)
Revision: 1.6, Sat Feb 16 19:37:30 2002 UTC (22 years, 4 months ago) by kumpf Branch: MAIN CVS Tags: VERSION_2_01_01, VERSION_2_00_RC_4, VERSION_2_00_RC_3, VERSION_2_00_RC_2, VERSION_2_00_RC_1, VERSION_2_00_BRANCH, VERSION_1_10, VERSION_1_09, VERSION_1_08 Changes since 1.5: +7 -0 lines Modifications to support C-Cover build environment. |
################################################################################ ## ## An ugly trick is used here to overcome a bug in g++ 2.9.5. G++ failes to ## cleanup object files that are placed in directories other than the ## current one (using the -o option). To overcome this bug, we use -o.tmp.o ## and then move the file to the object directory. ## ################################################################################ _TMP_O = $(PEGASUS_PLATFORM).o ifeq ($(PEGASUS_PLATFORM),HPUX_PARISC_ACC) $(OBJ_DIR)/%.o: %.cpp $(ERROR) $(CXX) -c -o $@ $(FLAGS) $(LOCAL_DEFINES) $(DEFINES) $(SYS_INCLUDES) $(INCLUDES) $*.cpp @ $(TOUCH) $@ @ $(ECHO) else $(OBJ_DIR)/%.o: %.cpp $(ERROR) $(CXX) -c -o $(_TMP_O) $(FLAGS) $(LOCAL_DEFINES) $(DEFINES) $(SYS_INCLUDES) $(INCLUDES) $*.cpp @ $(COPY) $(_TMP_O) $@ @ $(RM) $(_TMP_O) @ $(TOUCH) $@ @ $(ECHO) endif
No CVS admin address has been configured |
Powered by ViewCVS 0.9.2 |