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