# -*- Makefile -*-

lib_TARGETS = champion

# Tu peux rajouter des fichiers source ici
champion-dists = $(wildcard *.py)

# Evite de toucher a ce qui suit
champion-dists += interface.hh
champion-srcs = interface.cc

pc = $(shell for p in python2-config python-config; do if which $$p &>/dev/null; then echo $$p; fi done | head -n 1)
champion-cxxflags = -O2 -fPIC $(shell $(pc) --includes)
champion-ldflags = -s $(shell $(pc) --ldflags)

V=1
include $(MFPATH)/rules.mk
