CFLAGS ?= -O3 -march=native -pipe CFLAGS += -std=c99 $(shell pkg-config --cflags libusb-1.0) LDLIBS = $(shell pkg-config --libs libusb-1.0) all: test hasplib.c: hasplib.h hasplib-simple.c: hasplib.c hasplib.h test: hasplib.c hasplib-simple.c test.c clean: @rm -fv test .PHONY: all clean