version 1.3, 2009/02/22 02:14:44 |
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 |
|
mkdir -p ${OpenXM_HOME}/share/oxmgraph |
|
install share/inobuta.tga ${OpenXM_HOME}/share/oxmgraph |
|
|
|
|
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 |
distclean: clean |
|
rm -f Makefile |
|
|
|
|
distclean: clean |
|
rm -f Makefile .configure_done |