mirror of
https://github.com/shakemid/pcsensor-temper.git
synced 2025-01-21 17:18:16 +01:00
13 lines
263 B
Makefile
13 lines
263 B
Makefile
all: pcsensor
|
|
|
|
CC = gcc
|
|
CFLAGS = -g -O2 -Wall -lusb-1.0 -I/usr/include/libusb-1.0
|
|
|
|
pcsensor: pcsensor.c
|
|
${CC} ${CFLAGS} -DUNIT_TEST -o $@ $^
|
|
|
|
clean:
|
|
rm -f pcsensor *.o
|
|
|
|
rules-install: # must be superuser to do this
|
|
cp 99-tempsensor.rules /etc/udev/rules.d
|