diff options
author | Peter Wu <lekensteyn@gmail.com> | 2013-04-24 10:22:08 +0200 |
---|---|---|
committer | Peter Wu <lekensteyn@gmail.com> | 2013-04-24 10:22:08 +0200 |
commit | 3e2049b48b56f945442b3223e3ac7a48c039fce8 (patch) | |
tree | f7a7ae50f850f5f00117509efd4f6b6f0f7e3b18 | |
parent | d9fe85b6c9a44bfaa40d98b4bd082348b6e05b8d (diff) | |
download | ltunify-3e2049b48b56f945442b3223e3ac7a48c039fce8.tar.gz |
Add Makefile for convenience
-rw-r--r-- | Makefile | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..d0f3317 --- /dev/null +++ b/Makefile @@ -0,0 +1,14 @@ +CFLAGS ?= -g -O2 -Wall -Werror -Wextra +BINDIR ?= $(HOME) + +%: %.c + $(CC) $(CFLAGS) -o $(OUTDIR)$@ $< + +all: ltunify read-dev-usbmon + +.PHONY: clean install-home +clean: + rm -f ltunify read-dev-usbmon hidraw + +install-home: ltunify + install -m755 -D ltunify $(BINDIR)/ltunify |