Skip to content
This repository has been archived by the owner on Sep 23, 2021. It is now read-only.

Set some Makefile variables conditional assignment #71

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
8 changes: 4 additions & 4 deletions Makefile
@@ -1,16 +1,16 @@
VERSION = 11+

srcdir = .
srcdir ?= .
VPATH = $(srcdir)

PREFIX = /usr/local
MANPREFIX = $(PREFIX)/share/man
PREFIX ?= /usr/local
MANPREFIX ?= $(PREFIX)/share/man

CC = cc
DEF_CFLAGS = -Wall -pedantic

# user detection mechanism: login/systemd/utmp
SESSION = utmp
SESSION ?= utmp

ALL_CFLAGS = $(DEF_CFLAGS) $(CFLAGS)
REQ_CPPFLAGS = -I. -D_XOPEN_SOURCE=500
Expand Down