# Makefile.
# $Id$

.PHONY: all clean

all:
	make -C common/header
	make -C common/handle
	make -C common/library
	make -C lychee
	make -C plugin/7zArc
	make -C plugin/cuiWrapper
	make -C plugin/rarArc

clean:
	make -C common/header clean
	make -C common/handle clean
	make -C common/library clean
	make -C lychee clean
	make -C plugin/7zArc clean
	make -C plugin/cuiWrapper clean
	make -C plugin/rarArc clean

dist:
	tar cjf ../lychee.tar.bz2 ../bin ../doc ../share ../src --exclude=*.spi --exclude=*.xpi --exclude=*.ncb --exclude=*.suo --exclude=*.user --exclude=*.conf --exclude=*.o --exclude=.svn --exclude=src/tmp --exclude=src/plugin/7zArc/7-zip*
