Return to Makefile CVS log | Up to [local] / OpenXM / src / util |
File: [local] / OpenXM / src / util / Attic / Makefile (download)
Revision 1.4, Wed Mar 26 04:45:37 2003 UTC (21 years, 6 months ago) by takayama
oxreplace replaces a given string in a file by a given new string. It overwrites the file. |
# $OpenXM: OpenXM/src/util/Makefile,v 1.4 2003/03/26 04:45:37 takayama Exp $ OpenXM_ROOT=../../../OpenXM OpenXM_bin=$(OpenXM_ROOT)/bin OpenXM_lib=$(OpenXM_ROOT)/lib CC=gcc all : oxweave oxreplace oxweave : oxweave.c gcc -D_BSD_SOURCE -o oxweave -g oxweave.c oxreplace : oxreplace.c gcc -D_BSD_SOURCE -o oxreplace -g oxreplace.c install: all if [ "`uname | sed -e 's/_.*$$//'`" = "CYGWIN" ]; then \ cp -f oxweave.exe ${OpenXM_bin} ; \ cp -f oxweave.exe ${OpenXM_ROOT}/src/kxx ; \ cp -f oxreplace.exe ${OpenXM_bin} ; \ else \ cp -f oxweave ${OpenXM_bin} ; \ cp -f oxweave ${OpenXM_ROOT}/src/kxx ; \ cp -f oxreplace ${OpenXM_bin} ; \ fi cp -f lndir.sh ${OpenXM_bin} chmod 755 ${OpenXM_bin}/lndir.sh