2 PATH := $(PREFIX)/bin:$(PATH)
5 BASE_URL := http://downloads.sourceforge.net/project/libusb/libusb-1.0/$(LIBUSB)/
9 $(LIBUSB).stamp : src/$(LIBUSB)
10 ( cd $< && ./configure --prefix=$(PREFIX) --disable-shared )
15 ( cd src && tar xfj $(notdir $<) )
16 ( cd src && cat ../$(notdir $@)*patch.diff | patch -p0 )
19 ( mkdir -p src && cd src && wget -c $(BASE_URL)/$(notdir $@) )
21 # do not remove implicit & intermediate targets in build: directories and tarballs