summaryrefslogtreecommitdiffstats
path: root/lib/xf86misc/Makefile
blob: 2d874b98966fd1b2d9a4d764180e231f8d4e4bd2 (plain)
1
2
3
4
5
6
7
8
9
10
.PHONY: clean

main: %: %.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/xf86misc ; ln -s ../xf86misc/blib/arch/auto ../auto/xf86misc

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