File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,29 +2,17 @@ RUSTC ?= rustc
22RUSTFLAGS += -L.
33
44.PHONY : all
5- all : sql.dummy postgres.dummy sqlite3 .dummy
5+ all : postgres.dummy
66
7- sql.dummy : src/sql/lib.rs
8- $(RUSTC ) $(RUSTFLAGS ) --lib $< -o $@
9- touch $@
10-
11- postgres.dummy : src/postgres/lib.rs sql.dummy
12- $(RUSTC ) $(RUSTFLAGS ) --lib src/postgres/lib.rs -o $@
13- touch $@
14-
15- sqlite3.dummy : src/sqlite3/lib.rs sql.dummy
16- $(RUSTC ) $(RUSTFLAGS ) --lib src/sqlite3/lib.rs -o $@
7+ postgres.dummy : src/lib.rs
8+ $(RUSTC ) $(RUSTFLAGS ) --lib src/lib.rs -o $@
179 touch $@
1810
1911.PHONY : check
20- check : check-postgres check-sqlite3
21-
22- check-postgres : postgres.dummy src/postgres/test.rs
23- $(RUSTC ) $(RUSTFLAGS ) --test src/postgres/test.rs -o $@
24- ./$@
12+ check : check-postgres
2513
26- check-sqlite3 : sqlite3 .dummy src/sqlite3 /test.rs
27- $(RUSTC ) $(RUSTFLAGS ) --test src/sqlite3/ test.rs -o $@
14+ check-postgres : postgres .dummy src/test.rs
15+ $(RUSTC ) $(RUSTFLAGS ) --test src/test.rs -o $@
2816 ./$@
2917
3018.PHONY : clean
Load Diff This file was deleted.
File renamed without changes.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments