version 1.1, 2009/02/08 04:56:59 |
version 1.4, 2009/03/18 02:35:00 |
|
|
OpenXM_HOME = @prefix@ |
prefix = @prefix@ |
CFLAGS = @CFLAGS@ |
CFLAGS = @CFLAGS@ -I /usr/local/include |
CFLAG2 = @CFLAG2@ |
LIBS = @LIBS@ |
LFLAG2 = @LFLAG2@ |
LN_S = @LN_S@ |
MYTARGET = @MYTARGET@ |
TARGET = @TARGET@ |
MYTARGET2 = @MYTARGET2@ |
|
CC = @CC@ |
CC = @CC@ |
all: ${MYTARGET} |
|
|
|
${MYTARGET}: graph.c |
INSTALL = @INSTALL@ |
${CC} ${CFLAGS} ${CFLAG2} graph.c ${LFLAG2} -o ${MYTARGET} |
INSTALL_PROGRAM = @INSTALL_PROGRAM@ |
|
INSTALL_DATA = @INSTALL_DATA@ |
|
|
install: ${MYTARGET2} |
all: ${TARGET} |
install2: ${MYTARGET} |
|
install ${MYTARGET} ${OpenXM_HOME}/bin |
|
|
|
|
oxmgraph: graph.c |
|
${CC} ${CFLAGS} -o $@ graph.c ${LIBS} |
|
|
|
install: all |
|
@if [ ! -z "${TARGET}" ]; then \ |
|
${INSTALL_PROGRAM} oxmgraph ${prefix}/bin ; \ |
|
mkdir -p ${prefix}/share/oxmgraph ; \ |
|
${INSTALL_DATA} share/inobuta.tga ${prefix}/share/oxmgraph ;\ |
|
fi |
|
|
install-for-debug: |
install-for-debug: |
ln -s `pwd`/graph ${OpenXM_HOME}/bin/oxmgraph |
${LN_S} `pwd`/oxmgraph ${prefix}/bin/oxmgraph |
|
|
clean: |
clean: |
rm -rf ${MYTARGET} *.o *~ config.log config.status |
rm -rf oxmgraph *.o *~ config.log config.status autom4te.cache |
dist-clean: clean |
|
rm -f Makefile |
|
|
|
# for cvs in OpenXM |
distclean: clean |
copy-to-ox: |
rm -f Makefile .configure_done |
cp mt_graph.rr ${HOME}/OX4/OpenXM/src/asir-contrib/packages/src |
|
@echo "-------------------------------------" |
|
@echo "commit mt_graph.rr under ~/OX4/OpenXM" |
|
@echo "-------------------------------------" |
|