15 lines
608 B
Makefile
15 lines
608 B
Makefile
PREFIX ?= /usr/local
|
|
bindir = $(DESTDIR)$(PREFIX)/bin
|
|
includedir = $(DESTDIR)$(PREFIX)/include
|
|
libdir = $(DESTDIR)$(PREFIX)/lib
|
|
sharedir = $(DESTDIR)$(PREFIX)/share
|
|
mandir = $(sharedir)/man
|
|
docdir = $(sharedir)/doc/haggis
|
|
# We need an `echo` program that doesn't screw with terminal escape sequences.
|
|
# This only matters if /bin/sh is a symlink to dash, as the echo builtin in dash
|
|
# will screw with them and pass them as printed characters.
|
|
ECHO = /bin/echo
|
|
# Comment this line if your OS ships libmd as part of libc
|
|
# (NetBSD, OpenBSD)
|
|
LIBS += -lmd
|
|
LIBS += -lpthread
|