diff options
Diffstat (limited to '')
-rw-r--r-- | README.md | 10 | ||||
-rw-r--r-- | memch/Makefile | 2 | ||||
-rw-r--r-- | sjauth/Makefile | 2 | ||||
-rw-r--r-- | ykpsmuttauth/Makefile | 2 |
4 files changed, 5 insertions, 11 deletions
@@ -1,10 +1,6 @@ # Scripts, utilities, and other files related to life at YK Pao School -While I try to make things portable, sometimes I might foget, so there is no guarantee that any of this would run on macOS. They should, however, at least work on Alpine and Fedora, and on most other Linux-based systems too. - -## Contents - -| Program |Language| Description | +| Name |Language| Description | |--------------|--------|------------------------------------------------------| |`chphoto` |Go |Change Outlook profile photos | |`memch` |C |Help memorize classical Chinese texts | @@ -15,9 +11,7 @@ While I try to make things portable, sometimes I might foget, so there is no gua ## Build -There is a Makefile in each subdirectory that builds the relevant program. - -Only GNU Make is supported. Users on BSD systems should call `gmake` instead of `make`. +There is a Makefile in each subdirectory that builds the relevant program. They should support both BSD Make and GNU Make. ## Contributing diff --git a/memch/Makefile b/memch/Makefile index 4fbbb53..0b81fcd 100644 --- a/memch/Makefile +++ b/memch/Makefile @@ -1,7 +1,7 @@ .PHONY: clean memch: memch.c - $(CC) -D_DEFAULT_SOURCE -std=c99 -o memch memch.c $(shell pkg-config --libs --cflags ncursesw) + $(CC) -D_DEFAULT_SOURCE -std=c99 -o memch memch.c `pkg-config --libs --cflags ncursesw` clean: rm -f memch diff --git a/sjauth/Makefile b/sjauth/Makefile index ef64147..1f2ac90 100644 --- a/sjauth/Makefile +++ b/sjauth/Makefile @@ -3,7 +3,7 @@ all: sjauth sjauth: sjauth.c - $(CC) -Wall -Wextra -pedantic -O3 -o sjauth sjauth.c $(shell pkg-config --libs libcurl) + $(CC) -Wall -Wextra -pedantic -O3 -o sjauth sjauth.c `pkg-config --libs libcurl` clean: rm sjauth diff --git a/ykpsmuttauth/Makefile b/ykpsmuttauth/Makefile index 53e46a3..bbaab9f 100644 --- a/ykpsmuttauth/Makefile +++ b/ykpsmuttauth/Makefile @@ -4,7 +4,7 @@ ykpsmuttauth: ykpsmuttauth.go go build ykpsmuttauth2: ykpsmuttauth2.c - $(CC) -Wall -Wextra -pedantic -o ykpsmuttauth2 ykpsmuttauth2.c $(shell pkg-config --cflags --libs json-c) $(shell pkg-config --cflags --libs libcurl) $(shell pkg-config --cflags --libs openssl) + $(CC) -Wall -Wextra -pedantic -o ykpsmuttauth2 ykpsmuttauth2.c `pkg-config --cflags --libs json-c` `pkg-config --cflags --libs libcurl` `pkg-config --cflags --libs openssl` clean: rm -fv ykpsmuttauth ykpsmuttauth2 |