getopt.rs(3): initial commit

This commit is contained in:
2024-04-01 20:39:10 -06:00
parent 8d9ac33566
commit 320a70bc56
10 changed files with 282 additions and 988 deletions
+2 -2
View File
@@ -57,9 +57,9 @@ test: build
rustlibs: build/o/libsysexits.rlib build/o/libgetopt.rlib \
build/o/libstrerror.rlib
build/o/libgetopt.rlib: build src/getopt-rs/lib.rs
build/o/libgetopt.rlib: build src/getopt.rs
$(RUSTC) $(RUSTFLAGS) --crate-type=lib --crate-name=getopt \
-o $@ src/getopt-rs/lib.rs
-o $@ src/getopt.rs
build/o/libstrerror.rlib: build src/strerror.rs
$(RUSTC) $(RUSTFLAGS) --crate-type=lib -o $@ \