#*******************************************************************
# FILE NAME : makefile
# Copyright 2000-2001 Openet Corporation. All rights reserved.
#
# Created by : Jack He
# Last Modified Time : 2002.04.08
# Modified by : Jack He
#*******************************************************************
The replace rule you mentioned I have forgotten as I have never used it.
But I think you can use shell command below the cc to implement it.
such as : cp $OBJECT ../obj