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

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

Revision 1.9, Thu Sep 22 17:00:14 2016 UTC (7 years, 7 months ago) by ohara
Branch: MAIN
CVS Tags: HEAD
Changes since 1.8: +3 -2 lines

Add an option "--enable-shared" to the configure script.

## $OpenXM: OpenXM/src/oxc/Makefile.in,v 1.9 2016/09/22 17:00:14 ohara Exp $

OpenXM_HOME=../..
libdir     = ${OpenXM_HOME}/lib
CC         = @CC@
CFLAGS     = @CFLAGS@ -g -Wall -O2 -finline-functions -I${OpenXM_HOME}/src/ox_toolkit -I${OpenXM_HOME}/include
LIBS       = @LIBS@ -L${libdir} @OXLIBS@
INSTALL    = @INSTALL@
INSTALL_PROGRAM= ${INSTALL}

all: oxc

oxc: oxc.o sm.o sm_ext.o
	${CC} -o oxc oxc.o sm.o sm_ext.o ${LIBS}

sm.o sm_ext.o : sm.h

install: oxc
	${INSTALL_PROGRAM} oxc ${OpenXM_HOME}/bin

install-for-debug: oxc
	ln -sf `pwd`/oxc ${OpenXM_HOME}/bin

clean:
	-rm -f *.o *~ oxc

distclean: clean
	-rm -f .configure_done config.cache config.log config.status Makefile