forked from bonsai/harakit
strerror.rs(3), getopt.rs(3): renames
This commit is contained in:
parent
6e4aeb7be7
commit
2f87ad948f
14
Makefile
14
Makefile
@ -51,23 +51,23 @@ install: dist
|
||||
|
||||
.PHONY: test
|
||||
test: build /tmp/getopt
|
||||
/tmp/getopt
|
||||
tests/posix-compat.sh
|
||||
|
||||
/tmp/getopt: src/getopt.rs
|
||||
$(RUSTC) --test -o /tmp/getopt src/getopt.rs
|
||||
/tmp/getopt
|
||||
/tmp/getopt: src/libgetopt.rs
|
||||
$(RUSTC) --test -o /tmp/getopt src/libgetopt.rs
|
||||
|
||||
.PHONY: rustlibs
|
||||
rustlibs: build/o/libsysexits.rlib build/o/libgetopt.rlib \
|
||||
build/o/libstrerror.rlib
|
||||
|
||||
build/o/libgetopt.rlib: build src/getopt.rs
|
||||
build/o/libgetopt.rlib: build src/libgetopt.rs
|
||||
$(RUSTC) $(RUSTFLAGS) --crate-type=lib --crate-name=getopt \
|
||||
-o $@ src/getopt.rs
|
||||
-o $@ src/libgetopt.rs
|
||||
|
||||
build/o/libstrerror.rlib: build src/strerror.rs
|
||||
build/o/libstrerror.rlib: build src/libstrerror.rs
|
||||
$(RUSTC) $(RUSTFLAGS) --crate-type=lib -o $@ \
|
||||
src/strerror.rs
|
||||
src/libstrerror.rs
|
||||
|
||||
# bandage solution until bindgen(1) gets stdin support
|
||||
build/o/libsysexits.rlib: build $(SYSEXITS)sysexits.h
|
||||
|
Loading…
Reference in New Issue
Block a user