summaryrefslogtreecommitdiffstats
path: root/perl-install/Newt/Makefile
blob: 613ca8a1c862b21ff89b30c0536ebb4f4ce97fdd (plain)
1
2
3
4
5
6
7
8
9
10
.PHONY: clean

Newt: %: %.xs
	test -e Makefile_c || perl Makefile.PL
	$(MAKE) -f Makefile_c LD_RUN_PATH= || $(MAKE) -f Makefile_c LD_RUN_PATH=
	rm -f ../auto/Newt ; ln -s ../Newt/blib/arch/auto/Newt ../auto

clean:
	test ! -e Makefile_c || $(MAKE) -f Makefile_c clean
	rm -f *~ *.o