Use a central Makefile

This allows running "make clean", or "make all" without using the
setup.py.
This commit is contained in:
Laurent Bachelier 2013-03-02 13:45:48 +01:00
commit 79a90be331
2 changed files with 20 additions and 8 deletions

18
Makefile Normal file
View file

@ -0,0 +1,18 @@
core := weboob/tools/application/qt
applications := qboobmsg qhavedate qwebcontentedit qflatboob
ifeq ($(WIN32),)
applications += qvideoob
endif
directories := $(core) $(applications:%=weboob/applications/%/ui)
.PHONY: clean all $(directories)
all: target := all
all: $(directories)
clean: target := clean
clean: $(directories)
$(directories):
$(MAKE) -C $@ $(target)