version 1.23, 2003/05/14 07:24:53 |
version 1.25, 2003/07/21 12:41:22 |
|
|
# $OpenXM: OpenXM/src/k097/Makefile,v 1.22 2003/05/14 07:09:47 takayama Exp $ |
# $OpenXM: OpenXM/src/k097/Makefile,v 1.24 2003/05/14 07:29:53 takayama Exp $ |
# targets |
# targets |
# all |
# all |
# compile |
# compile |
|
|
YACCPREFIX = -p KC |
YACCPREFIX = -p KC |
FLAG = -g -DLOAD_K_PATH=$(LOAD_K_PATH) -DLOAD_SM1_PATH2=$(LOAD_SM1_PATH2) |
FLAG = -g -DLOAD_K_PATH=$(LOAD_K_PATH) -DLOAD_SM1_PATH2=$(LOAD_SM1_PATH2) |
KAN_HOME = $(KHOME)/Kan |
KAN_HOME = $(KHOME)/Kan |
|
PATHFINDER = -L${OpenXM_lib} -lox_pathfinder |
|
|
all : d0 k0 ox_k0 |
all : d0 k0 ox_k0 |
|
|
|
|
d0 : simple.tab.o d.o dic.o dm.c |
d0 : simple.tab.o d.o dic.o dm.c |
$(CC) ${STATIC_LINK_FLAG} $(FLAG) $(DDD) -o d0 dm.c d.o dic.o simple.tab.o |
$(CC) ${STATIC_LINK_FLAG} $(FLAG) $(DDD) -o d0 dm.c d.o dic.o simple.tab.o ${PATHFINDER} |
|
|
d.o : d.c simple.tab.h Stable/sm1symbol.h |
d.o : d.c simple.tab.h Stable/sm1symbol.h |
$(CC) $(FLAG) $(DDD) -o d.o -c d.c |
$(CC) -I${OpenXM_include} $(FLAG) $(DDD) -o d.o -c d.c |
|
|
simple.tab.o : simple.tab.c |
simple.tab.o : simple.tab.c |
$(CC) $(FLAG) $(DDD) -o simple.tab.o -c simple.tab.c |
$(CC) $(FLAG) $(DDD) -o simple.tab.o -c simple.tab.c |
Line 134 install-for-debug : all install-lib-for-debug |
|
Line 135 install-for-debug : all install-lib-for-debug |
|
(cd ../../bin ; ln -s ../src/k097/k0 k0) |
(cd ../../bin ; ln -s ../src/k097/k0 k0) |
(cd ../../bin ; ln -s ../src/k097/d0 d0) |
(cd ../../bin ; ln -s ../src/k097/d0 d0) |
(cd ../../bin ; ln -s ../src/k097/ox_k0 ox_k0) |
(cd ../../bin ; ln -s ../src/k097/ox_k0 ox_k0) |
(cd ../../lib/sm1/bin ; ln -s ../../../src/k097/ox_k0 ox_k0) |
(cd ../../lib/sm1/bin ; ln -s ../../../../src/k097/ox_k0 ox_k0) |
|
|
install-lib : |
install-lib : |
/bin/rm -rf $(OpenXM_lib)/k097 |
/bin/rm -rf $(OpenXM_lib)/k097 |