diff options
| -rw-r--r-- | Makefile | 9 | ||||
| -rw-r--r-- | src/main.c | 2 |
2 files changed, 9 insertions, 2 deletions
@@ -5,8 +5,15 @@ endif CC := gcc LD := gcc -CFLAGS = -Wall -Wextra -Os -g +CFLAGS = -Wall -Wextra -Os -g -std=c99 -pedantic +ifeq ($(shell uname -s),OpenBSD) +CFLAGS += -I/usr/local/include +endif + LDFLAGS = -lz +ifeq ($(shell uname -s),OpenBSD) +LDFLAGS += -liconv -L/usr/local/lib +endif SRCDIR = src TSTDIR = test @@ -60,7 +60,7 @@ static void print_help(void) { " -v, --version\tDisplay the currently installed version and " "exit.\n\n" " -e, --extract\tExtract the contents of the archive. This is " - "the default.\n" + "the default\n\t\t\taction if no mode argument is provided.\n" " -l, --list\t\tList the contents of the archive.\n\n" " -o, --output\t\tPath to extract files to.\n" " -g, --game\t\tGame the archive is from. Required for file " |