aboutsummaryrefslogtreecommitdiffstats
path: root/grpmi/curl_download/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'grpmi/curl_download/Makefile')
-rw-r--r--grpmi/curl_download/Makefile13
1 files changed, 13 insertions, 0 deletions
diff --git a/grpmi/curl_download/Makefile b/grpmi/curl_download/Makefile
new file mode 100644
index 00000000..76721838
--- /dev/null
+++ b/grpmi/curl_download/Makefile
@@ -0,0 +1,13 @@
+.PHONY: clean
+
+curl_download: %: %.xs
+ test -e Makefile_c || perl Makefile.PL INSTALLDIRS=$(INSTALLDIRS)
+ $(MAKE) -f Makefile_c
+
+install:
+ test -e Makefile_c || perl Makefile.PL INSTALLDIRS=$(INSTALLDIRS)
+ $(MAKE) -f Makefile_c install
+
+clean:
+ test ! -e Makefile_c || $(MAKE) -f Makefile_c clean
+ rm -f *~ *.o