From 3e2049b48b56f945442b3223e3ac7a48c039fce8 Mon Sep 17 00:00:00 2001 From: Peter Wu Date: Wed, 24 Apr 2013 10:22:08 +0200 Subject: Add Makefile for convenience --- Makefile | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 Makefile (limited to 'Makefile') 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 -- cgit v1.2.1