[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.3, Mon Jan 3 05:11:15 2022 UTC (2 years, 4 months ago) by takayama
Branch: MAIN
Changes since 1.2: +2 -2 lines

--embed is added to python3-configure. The version of python is assumed to be >=3.8.

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 --embed` ${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.3 2022/01/03 05:11:15 takayama Exp $