Source

anjuta-pyloader / Makefile

Full commit
CFLAGS =`python-config --cflags` `pkg-config --cflags libanjuta-1.0 pygobject-2.0`
LIBS =`python-config --libs` `pkg-config --libs libanjuta-1.0`

libanjuta-pyloader.so : plugin.o
	gcc -shared $(LIBS) -o $@ $^

%.o: %.c
	gcc $(CFLAGS) -c -o $@ $^

clean:
	rm -f plugin.o libanjuta-pyloader.so

install: libanjuta-pyloader.so
	test -z "${DESTDIR}" || mkdir -p ${DESTDIR}
	install -m 644 libanjuta-pyloader.so anjuta-pyloader.plugin ${DESTDIR}/`pkg-config libanjuta-1.0 --variable=libdir`/anjuta