[BACK]Return to Makefile.in CVS log [TXT][DIR] Up to [local] / OpenXM / src / oxmgraph

File: [local] / OpenXM / src / oxmgraph / Makefile.in (download)

Revision 1.4, Wed Mar 18 02:35:00 2009 UTC (15 years, 1 month ago) by ohara
Branch: MAIN
CVS Tags: R_1_3_1-2, RELEASE_1_3_1_13b, HEAD
Changes since 1.3: +23 -18 lines

configure are rewritten.

prefix = @prefix@
CFLAGS = @CFLAGS@ -I /usr/local/include
LIBS = @LIBS@
LN_S = @LN_S@
TARGET = @TARGET@
CC = @CC@

INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_DATA = @INSTALL_DATA@

all: ${TARGET}

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:
	${LN_S} `pwd`/oxmgraph ${prefix}/bin/oxmgraph

clean:
	rm -rf oxmgraph *.o *~ config.log config.status autom4te.cache

distclean: clean
	rm -f Makefile .configure_done