Packages

ExCO2Mini is a library to read carbon dioxide and temperature data from the CO2Mini USB sensor, also known as the RAD-0301.

Current section

Files

Jump to
ex_co2_mini Makefile
Raw

Makefile

MIX = mix
CFLAGS += -g -O3 -std=c99 -Wall -Wextra -Wno-unused-parameter

all: priv/reader

clean:
	rm -f priv/reader

.PHONY: all clean

priv/reader: src/reader.c priv
	$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $<

priv:
	mkdir $@