howard/Makefile.termux

11 lines
285 B
Makefile

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