From fb73fc8292d507e9d6f368da5f2c2ac3e3f85e45 Mon Sep 17 00:00:00 2001
From: Přemysl Janouch
Date: Fri, 14 Jul 2017 21:49:32 +0200
Subject: Mark files that make use of POSIX ACLs
---
Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
(limited to 'Makefile')
diff --git a/Makefile b/Makefile
index de28c23..84ead83 100644
--- a/Makefile
+++ b/Makefile
@@ -3,7 +3,7 @@ CXXFLAGS = -g -std=c++14 -Wall -Wextra -pedantic -static-libstdc++
all: sdn
%: %.cpp CMakeLists.txt
- $(CXX) $(CXXFLAGS) $< -o $@ `pkg-config --libs --cflags ncursesw` \
+ $(CXX) $(CXXFLAGS) $< -o $@ `pkg-config --libs --cflags ncursesw` -lacl \
`sed -ne 's/^project (\([^ )]*\).*/-DPROJECT_NAME="\1"/p' \
-e 's/^set (version \([^ )]*\).*/-DPROJECT_VERSION="\1"/p' CMakeLists.txt`
clean:
--
cgit v1.2.3-70-g09d2