motion-sensor/Makefile
2022-10-31 14:01:29 +01:00

9 lines
196 B
Makefile

all:
gcc -Wall -O2 -o TSL2561.o -c TSL2561.c
gcc -Wall -O2 -o motion.o -c motion.c
gcc -Wall -O2 -o motion TSL2561.o motion.o -l curl -l wiringPi
make clean
clean:
rm *.o > /dev/null 2>&1 &