OSDN Git Service

コードを整理。
[tpi/lychee.git] / src / Makefile
index d3321a4..67f47fa 100644 (file)
@@ -1,17 +1,25 @@
 # Makefile.\r
 # $Id$\r
 \r
-.PHONY: all clean\r
+.PHONY: all clean dist\r
 \r
 all:\r
+       make -C common/header\r
+       make -C common/handle\r
+       make -C common/library\r
        make -C lychee\r
+       make -C plugin/7zArc\r
        make -C plugin/cuiWrapper\r
        make -C plugin/rarArc\r
-       make -C common/header\r
 \r
 clean:\r
+       make -C common/header clean\r
+       make -C common/handle clean\r
+       make -C common/library clean\r
        make -C lychee clean\r
+       make -C plugin/7zArc clean\r
        make -C plugin/cuiWrapper clean\r
        make -C plugin/rarArc clean\r
-       make -C common/header clean\r
-       rm -f common/header/TPIHandle.o\r
+\r
+dist:\r
+       tar cjf ../lychee-$(VERSION).tar.bz2 -C .. 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*\r