11 lines
228 B
Makefile
11 lines
228 B
Makefile
|
CFLAGS=-g -Wall `pkg-config --cflags hidapi`
|
||
|
LDFLAGS=`pkg-config --libs hidapi`
|
||
|
|
||
|
all: lsusb howard
|
||
|
|
||
|
lsusb: lsusb.c
|
||
|
gcc -olsusb $(CFLAGS) $(LDFLAGS) lsusb.c
|
||
|
|
||
|
howard: howard.c howard.h
|
||
|
gcc -ohoward $(CFLAGS) $(LDFLAGS) howard.c
|