diff options
author | 2014-10-29 06:58:10 +0100 | |
---|---|---|
committer | 2014-10-29 06:58:10 +0100 | |
commit | 4868c6c235243ae004cf819bdcbb843374ac5b52 (patch) | |
tree | d2eed093a1e0a30056f4ac0ff2d294dd69db9f16 /Makefile | |
download | hasplib-4868c6c235243ae004cf819bdcbb843374ac5b52.tar.xz hasplib-4868c6c235243ae004cf819bdcbb843374ac5b52.zip |
Initial commit.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..66561f1 --- /dev/null +++ b/Makefile @@ -0,0 +1,16 @@ +CFLAGS ?= -O3 -march=native -fomit-frame-pointer -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 -v test + +.PHONY: all clean |