From 90829dfbddca5e993479942134913d5982ffc58b Mon Sep 17 00:00:00 2001 From: Jay Larson Date: Sat, 2 Dec 2017 12:42:52 -0600 Subject: [PATCH] Corrected make target - the make target will now test for libusb-*.a --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 5aae01f..f38c220 100644 --- a/Makefile +++ b/Makefile @@ -16,7 +16,7 @@ export URL = http://libusb.info/ export REPO = main BRIEF = C library providing access to USB devices DESC = libusb is a C library that provides generic access to USB devices -SNAPVER = 0 +SNAPVER = 1 ARCHIVE := $(PWD)/SRC/$(shell ls SRC|egrep '(bz2|gz|tar|xz)$$'|tail -1) TYPE := $(shell file -ib $(ARCHIVE)|cut -d';' -f1|tr -d '\n') @@ -57,10 +57,10 @@ $(SRCDIR)/config.log: $(SRCDIR)/configure --host=x86_64-snap-linux-gnu \ --target=x86_64-snap-linux-gnu -$(SRCDIR)/binfile: $(SRCDIR)/config.log +$(SRCDIR)/libusb/.libs/libusb-*.a: $(SRCDIR)/config.log @cd $(SRCDIR) && make -$(ROOT): $(SRCDIR)/binfile +$(ROOT): $(SRCDIR)/libusb/.libs/libusb-*.a @if [ -d $(ROOT) ]; then \ touch $(ROOT); \ else \