motion-sensor/Makefile

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 -l wiringPi -l curl TSL2561.o motion.o
make clean
clean:
rm *.o > /dev/null 2>&1 &