1
2 # passed to configure
3 prefix = /usr/local
4
5 # arch name -- for build directory
6 arch := $(shell echo "arch-`uname -m`-`uname -s`" | tr "A-Z" "a-z")
7
8 # targets
9 build all install: $(arch)/Makefile
10 $(MAKE) -C $(arch) $@
11
12 clean distclean:
13 -test -d "$(arch)" && rm -rf "$(arch)"
14
15 tarball rpm dsc debs pbuild release snapshot snap:
16 ./configure
17 $(MAKE) $@
18
19 $(arch)/Makefile:
20 mkdir -p $(arch)
21 (cd $(arch); ../configure \
22 --prefix=$(prefix) )
|
This page was automatically generated by the
LXR engine.
|