blob: 25b5c94813d37f99914fe45e3ba78eac98fb9d48 [file] [log] [blame]
Simon Kelley9e4abcb2004-01-22 19:47:41 +00001PREFIX?=/usr/local
2BINDIR = ${PREFIX}/sbin
3MANDIR = ${PREFIX}/man
4
5SRC = src
6
7CFLAGS?= -O2
8
9all :
10 @cd $(SRC); $(MAKE) dnsmasq
11
12clean :
13 rm -f *~ */*~ $(SRC)/*.o $(SRC)/dnsmasq core build
14
Simon Kelley44a2a312004-03-10 20:04:35 +000015install : all
Simon Kelley9e4abcb2004-01-22 19:47:41 +000016 install -d $(DESTDIR)$(BINDIR) -d $(DESTDIR)$(MANDIR)/man8
17 install -m 644 dnsmasq.8 $(DESTDIR)$(MANDIR)/man8
18 install -m 755 $(SRC)/dnsmasq $(DESTDIR)$(BINDIR)
19
20
21
22