1 LIBUSB_CFLAGS := $(shell pkg-config --cflags libusb-1.0)
2 LIBUSB_LIBS := $(shell pkg-config --libs libusb-1.0)
4 LIBUCW_PKG := /home/mj/src/libucw/run/lib/pkgconfig
5 LIBUCW_CFLAGS := $(shell PKG_CONFIG_PATH=$(LIBUCW_PKG) pkg-config --cflags libucw)
6 LIBUCW_LIBS := $(shell PKG_CONFIG_PATH=$(LIBUCW_PKG) pkg-config --libs libucw)
8 CFLAGS=-O2 -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -Wundef -Wredundant-decls -std=gnu99 $(LIBUCW_CFLAGS) $(LIBUSB_CFLAGS)
9 LDLIBS=$(LIBUCW_LIBS) $(LIBUSB_LIBS)
16 rm -f `find . -name "*~" -or -name "*.[oa]" -or -name "\#*\#" -or -name TAGS -or -name core -or -name .depend -or -name .#*`