diff options
Diffstat (limited to 'perl-install/c/Makefile')
-rw-r--r-- | perl-install/c/Makefile | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/perl-install/c/Makefile b/perl-install/c/Makefile new file mode 100644 index 000000000..dcd777bb7 --- /dev/null +++ b/perl-install/c/Makefile @@ -0,0 +1,15 @@ +.PHONY: clean + +stuff: %: %.xs + test -e Makefile_c || C_RPM=1 perl Makefile.PL + $(MAKE) -f Makefile_c + ln -sf ../c/blib/arch/auto ../auto/c + +clean: + test ! -e Makefile_c || $(MAKE) -f Makefile_c clean + rm -f *~ stuff.xs + +stuff.xs: %: %.pm + rm -f $@ + export C_RPM=1 ; perl $< > $@ + chmod a-w $@ |