saladtestingbox/salad/dht22-pine64/Makefile

8 lines
187 B
Makefile
Raw Permalink Normal View History

2018-12-23 15:53:54 +00:00
dht22: *.c
g++ -fpermissive -Wno-write-strings -o dht22 *.c
install: dht22
sudo cp dht22 /usr/local/bin/
sudo chown root /usr/local/bin/dht22
sudo chmod u+s /usr/local/bin/dht22