motion-sensor/Makefile

9 lines
196 B
Makefile
Raw Normal View History

2021-10-17 13:44:59 +02:00
all:
gcc -Wall -O2 -o TSL2561.o -c TSL2561.c
gcc -Wall -O2 -o motion.o -c motion.c
2022-10-31 14:01:29 +01:00
gcc -Wall -O2 -o motion TSL2561.o motion.o -l curl -l wiringPi
2021-10-17 13:44:59 +02:00
make clean
clean:
rm *.o > /dev/null 2>&1 &