mirror of
https://github.com/shakemid/pcsensor-temper.git
synced 2025-07-17 15:56:13 +02:00
Change libusb-0.1 -> libusb-1.0 to be able to build on Solaris
This commit is contained in:
parent
9eee035ff0
commit
8ccd2b1f47
5 changed files with 112 additions and 72 deletions
5
Makefile
5
Makefile
|
@ -1,9 +1,10 @@
|
|||
all: pcsensor
|
||||
|
||||
CFLAGS = -O2 -Wall
|
||||
CC = gcc
|
||||
CFLAGS = -g -O2 -Wall -lusb-1.0 -I/usr/include/libusb-1.0
|
||||
|
||||
pcsensor: pcsensor.c
|
||||
${CC} -DUNIT_TEST -o $@ $^ -lusb
|
||||
${CC} ${CFLAGS} -DUNIT_TEST -o $@ $^
|
||||
|
||||
clean:
|
||||
rm -f pcsensor *.o
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue