pcsensor-temper/Makefile

14 lines
263 B
Makefile
Raw Normal View History

2012-09-13 20:03:51 +02:00
all: pcsensor
CC = gcc
CFLAGS = -g -O2 -Wall -lusb-1.0 -I/usr/include/libusb-1.0
2012-09-13 20:03:51 +02:00
pcsensor: pcsensor.c
${CC} ${CFLAGS} -DUNIT_TEST -o $@ $^
2012-09-13 20:03:51 +02:00
clean:
rm -f pcsensor *.o
rules-install: # must be superuser to do this
cp 99-tempsensor.rules /etc/udev/rules.d