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

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

Revision 1.2, Fri Dec 31 07:43:48 2021 UTC (2 years, 4 months ago) by takayama
Branch: MAIN
Changes since 1.1: +10 -4 lines

python2 --> python3,  On the linux system, python3.8 is assumed (bug of python3-config --ldflags? -lpython3.x is missing)

prefix = @prefix@
CFLAGS = @CFLAGS@ -fPIE
LIBS = @LIBS@
LN_S = @LN_S@
TARGET = @TARGET@
CC = @CC@

all: ${TARGET}

ox_python: ox_python.o mysig.o
	${CC} ${CFLAGS} `python3-config --cflags` -o ox_python ox_python.o mysig.o `python3-config --ldflags` ${LIBS}

.c.o: ox_python.h mysig.h
	${CC} ${CFLAGS} `python3-config --cflags` -c -g $<

clean:
	rm -f *.o *~ ox_python  
distclean: clean
	rm -f .configure_done

install: all
	install ox_python ../../bin
install-for-debug: all
	rm -f ../../bin/ox_python
	(cd ../../bin ; ln -s ../src/ox_python/ox_python .)

# $OpenXM: OpenXM/src/ox_python/Makefile.in,v 1.2 2021/12/31 07:43:48 takayama Exp $