mirror of
https://github.com/Lekensteyn/ltunify.git
synced 2025-12-09 18:05:34 +00:00
Add Makefile for convenience
This commit is contained in:
14
Makefile
Normal file
14
Makefile
Normal file
@@ -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
|
||||
Reference in New Issue
Block a user