1 2DESTDIR = $(TARGETDIR)/usr/sbin 3 4SRC = src 5 6all : 7 @cd $(SRC); $(MAKE) dnsmasq 8 9clean : 10 rm -f *~ contrib/*/*~ */*~ $(SRC)/*.o $(SRC)/dnsmasq core build 11 12install : all 13 install -d $(DESTDIR) 14 install -m 755 $(SRC)/dnsmasq $(DESTDIR) 15 $(STRIP) $(DESTDIR)/dnsmasq 16 17 18 19 20