Permalink
Fetching contributors…
Cannot retrieve contributors at this time
17 lines (15 sloc) 525 Bytes
.PHONY: clean test
CC = %CC%
PERL6 = %perl6%
all: %p5helper%
clean:
rm -f "%p5helper%"
find . -name .precomp -prune -exec rm -rf "{}" \;
manifest:
find . -name .git -prune -o -name .gitignore -prune -o -name .prove -prune -o -name .travis.yml -prune -o -name Makefile -prune -o -name bugs -prune -o -type f -print | sort | cut -c 3- > MANIFEST
%p5helper%: p5helper.c
$(CC) -Wall p5helper.c %perlopts% -shared -o "%p5helper%" -fPIC -g
test: all
prove -e "$(PERL6) -Ilib" t
install: all
$(PERL6) configure.pl6 --install