summaryrefslogtreecommitdiffstats
path: root/perl-install/Newt
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/Newt')
-rw-r--r--perl-install/Newt/Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/perl-install/Newt/Makefile b/perl-install/Newt/Makefile
new file mode 100644
index 000000000..03bb3be91
--- /dev/null
+++ b/perl-install/Newt/Makefile
@@ -0,0 +1,10 @@
+.PHONY: clean
+
+Newt: %: %.xs
+ test -e Makefile_c || perl Makefile.PL
+ $(MAKE) -f Makefile_c
+ rm -f ../auto/Newt ; ln -s ../Newt/blib/arch/auto/Newt ../auto
+
+clean:
+ test ! -e Makefile_c || $(MAKE) -f Makefile_c clean
+ rm -f *~