[svn:ponie] rev 29 - trunk

[email protected]
Newsgroups perl.ponie.changes
Message-ID <[email protected]>
Author: sky
Date: Tue Aug 19 07:37:11 2003
New Revision: 29

Modified:
   trunk/Makefile
Log:
Make the makefile a ltitler smarter

Modified: trunk/Makefile
==============================================================================
--- trunk/Makefile	(original)
+++ trunk/Makefile	Tue Aug 19 07:37:11 2003
@@ -2,9 +2,26 @@
 
 
 
-all:
-	cd parrot && $(MAKE) $<
-	cd perl && $(MAKE) $<
+all:	final
+
+final: lib ponie
+
+lib:
+	ln -s perl/lib lib
+
+ponie:  perl/perl
+	cp perl/perl ponie
+
+parrot/parrot:
+	cd parrot && $(MAKE) parrot
+
+perl/perl: parrot/parrot
+	cd perl && $(MAKE) perl
+
+clean:
+	cd parrot && $(MAKE) realclean
+	cd perl && $(MAKE) realclean
+	rm -f ponie
 
 distclean:
 	error: will kill subversion
@@ -14,6 +31,10 @@
 	cd perl && $(MAKE) realclean
 	rm -f perl/config.sh
 	rm -f perl/Policy.sh
+	rm -f ponie
+
+install:
+	error: parrot is not installable, so neither is ponie (yet)
 
 .DEFAULT:
 	cd parrot && $(MAKE) $<
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.