version 1.10, 2003/11/14 02:58:20 |
version 1.12, 2003/11/17 03:00:59 |
|
|
# $OpenXM: OpenXM/src/util/Makefile,v 1.9 2003/09/08 06:21:08 takayama Exp $ |
# $OpenXM: OpenXM/src/util/Makefile,v 1.11 2003/11/16 07:14:11 takayama Exp $ |
OpenXM_ROOT=../../../OpenXM |
OpenXM_ROOT=../../../OpenXM |
OpenXM_bin=$(OpenXM_ROOT)/bin |
OpenXM_bin=$(OpenXM_ROOT)/bin |
OpenXM_lib=$(OpenXM_ROOT)/lib |
OpenXM_lib=$(OpenXM_ROOT)/lib |
Line 16 libox_pathfinder.a : ox_pathfinder.o |
|
Line 16 libox_pathfinder.a : ox_pathfinder.o |
|
ox_pathfinder.o : ox_pathfinder.c ox_pathfinder.h |
ox_pathfinder.o : ox_pathfinder.c ox_pathfinder.h |
$(CC) -D_BSD_SOURCE -D_POSIX_C_SOURCE -c ox_pathfinder.c |
$(CC) -D_BSD_SOURCE -D_POSIX_C_SOURCE -c ox_pathfinder.c |
|
|
|
test: ox_pathfinder.o test.c |
|
$(CC) -o test -D_BSD_SOURCE -D_POSIX_C_SOURCE test.c ox_pathfinder.o -L${OpenXM_lib} -lgc |
|
|
install: all |
install: all |
@if [ ! -f ./.install_done ] ; then \ |
@if [ ! -f ./.install_done ] ; then \ |
echo "Installing oxweave, oxreplace, libox_pathfinder.a, ox_pathfinder.h" ; \ |
echo "Installing oxweave, oxreplace, libox_pathfinder.a, ox_pathfinder.h oxfetch.sh" ; \ |
install oxweave oxreplace ${OpenXM_bin} ; \ |
install oxweave oxreplace ${OpenXM_bin} ; \ |
install oxweave ${OpenXM_ROOT}/src/kxx ; \ |
install oxweave ${OpenXM_ROOT}/src/kxx ; \ |
cp -f libox_pathfinder.a ${OpenXM_lib} ; \ |
cp -f libox_pathfinder.a ${OpenXM_lib} ; \ |
|
|
fi |
fi |
|
|
clean: |
clean: |
rm -f .install_done *.o oxweave oxreplace libox_pathfinder.a |
rm -f .install_done *.o oxweave oxreplace libox_pathfinder.a test |