howard/Makefile.termux

11 lines
285 B
Makefile
Raw Normal View History

2021-11-28 20:00:32 +11:00
CFLAGS=-g -D_TERMUX -Wall -I/data/data/com.termux/files/usr/include/hidapi
LDFLAGS=-L/data/data/com.termux/files/usr/lib -lhidapi-libusb
all: lsusb howard
lsusb: lsusb.c
gcc -olsusb $(CFLAGS) $(LDFLAGS) lsusb.c
howard: howard.c howard.h
gcc -ohoward $(CFLAGS) $(LDFLAGS) howard.c