You've already forked sensor_scanner
mirror of
https://github.com/usetrmnl/sensor_scanner.git
synced 2026-04-29 13:45:14 -07:00
14 lines
209 B
Makefile
Executable File
14 lines
209 B
Makefile
Executable File
CFLAGS= -D__LINUX__ -c -Wall -O2
|
|
LIBS = -lm -lbb_scd41 -lpthread
|
|
|
|
all: sensor2json
|
|
|
|
sensor2json: main.o
|
|
g++ main.o $(LIBS) -o sensor2json
|
|
|
|
main.o: main.cpp
|
|
g++ $(CFLAGS) main.cpp
|
|
|
|
clean:
|
|
rm *.o sensor2json
|