rust-postgres/Makefile
Steven Fackler 557c61d6db Binary transmission of numeric types
It looks like Postgres doesn't guarantee that its floats are IEEE754,
but I don't know if there are any reasonable platforms on which the
format is actually different.

Work towards #7.
2013-08-31 17:17:06 -07:00

21 lines
376 B
Makefile

RUSTC ?= rustc
RUSTFLAGS += -L. --cfg debug -Z debug-info
.PHONY: all
all: postgres.dummy
postgres.dummy: src/lib.rs src/message.rs src/types.rs
$(RUSTC) $(RUSTFLAGS) --lib src/lib.rs -o $@
touch $@
.PHONY: check
check: check-postgres
check-postgres: postgres.dummy src/test.rs
$(RUSTC) $(RUSTFLAGS) --test src/test.rs -o $@
./$@
.PHONY: clean
clean:
git clean -dfx