toolbox

Check-in [50551a9e8c]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:lib: make Makefile openbsd compatible
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256:50551a9e8cae0916af5312396a055bd9fa07958262ed555cb4749aa10b94f9a9
User & Date: jef 2019-02-24 19:37:12
Context
2019-02-25
09:04
lib: use explicit error code check-in: 59aa81acb3 user: jef tags: trunk
2019-02-24
19:37
lib: make Makefile openbsd compatible check-in: 50551a9e8c user: jef tags: trunk
19:16
i3notify: fix openbsd write bug check-in: 581d07e392 user: jef tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to src/lib/Makefile.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
.POSIX:
.SUFFIXES:
CC = cc
CFLAGS = -O3 -Wall -Wextra -Werror -pedantic -I/usr/local/include -I ../../include
LIBS = die dmenu xmalloc printtime cJSON str
PARSEDIR != [ -n "$(.PARSEDIR)" ] && echo "$(.PARSEDIR)" || echo "$(abspath $(dir $(lastword $(MAKEFILE_LIST))))"
LIBDIR = $(PARSEDIR)/../../lib

all: lib $(LIBS)

lib:
	@mkdir -p $(LIBDIR)

die: die.o





|
<







1
2
3
4
5
6

7
8
9
10
11
12
13
.POSIX:
.SUFFIXES:
CC = cc
CFLAGS = -O3 -Wall -Wextra -Werror -pedantic -I/usr/local/include -I ../../include
LIBS = die dmenu xmalloc printtime cJSON str
LIBDIR = ./../../lib


all: lib $(LIBS)

lib:
	@mkdir -p $(LIBDIR)

die: die.o