diff options
author | Andreas Fankhauser hiddenalpha.ch | 2024-04-05 17:11:35 +0200 |
---|---|---|
committer | Andreas Fankhauser hiddenalpha.ch | 2024-04-05 17:15:07 +0200 |
commit | 69f6497f87ce203cf0c3adb5562528b0ad596965 (patch) | |
tree | 8a69e30a4d21e261cdf9c61dd0c042f5f44bf401 | |
parent | 61ea329355bee7ef49586a2a3b4769e5a6d2b7ee (diff) | |
download | getaddrinfo-cli-0.0.1.zip getaddrinfo-cli-0.0.1.tar.gz |
Add README, print arch to dist pkg, optimize for sizev0.0.1
-rw-r--r-- | Makefile | 3 | ||||
-rw-r--r-- | README.txt | 7 |
2 files changed, 9 insertions, 1 deletions
@@ -9,7 +9,7 @@ MD5SUM=md5sum -b TAR=tar INSTALL_ROOT=/usr/local -CFLAGS=-Wall -Werror -pedantic -std=c89 -fPIC -fmax-errors=1 -DPROJECT_VERSION=$(PROJECT_VERSION) -D_POSIX_C_SOURCE=200112L +CFLAGS=-Wall -Werror -pedantic -std=c89 -fPIC -Os -fmax-errors=1 -DPROJECT_VERSION=$(PROJECT_VERSION) -D_POSIX_C_SOURCE=200112L LDFLAGS=-Wl,-s,--as-needed,--gc-sections,-pie @@ -47,6 +47,7 @@ dist/getaddrinfo-$(PROJECT_VERSION)+$(ARCH).tgz: build/bin/getaddrinfo $(MKDIR_P) "$(shell dirname "$@")" build/tar build/tar/bin $(COPYTO) build/tar/bin/. build/bin/getaddrinfo echo "version=$(PROJECT_VERSION)" > build/tar/METADATA.INI + echo "arch=$(ARCH)" >> build/tar/METADATA.INI echo "builtAt=$(shell date -u +%Y-%m-%dT%H:%M:%SZ)" >> build/tar/METADATA.INI $(TAR) --owner=0 --group=0 -czf "$@" -C build/tar METADATA.INI bin/getaddrinfo diff --git a/README.txt b/README.txt new file mode 100644 index 0000000..9375737 --- /dev/null +++ b/README.txt @@ -0,0 +1,7 @@ + +getaddrinfo-cli +=============== + +Simple commandline frontend to getaddrinfo +(https://pubs.opengroup.org/onlinepubs/9699919799/functions/getaddrinfo.html). + |