projects
/
rrq
/
blockdomains.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
d0f71ff
)
use dpkg-buildflags
master
0.1
author
Ralph Ronnquist
<rrq@rrq.au>
Thu, 27 Feb 2025 07:15:41 +0000
(18:15 +1100)
committer
Ralph Ronnquist
<rrq@rrq.au>
Thu, 27 Feb 2025 07:15:41 +0000
(18:15 +1100)
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index ce2874d9d614a955d1910e3d87f3e710db30266d..fea159da4f4e29e6d7ba837c9cc8c2603790d2bf 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-18,8
+18,12
@@
$(MANFILES): %: doc/%.adoc
README.html: README.adoc
asciidoctor -bhtml $<
README.html: README.adoc
asciidoctor -bhtml $<
+blockdomains: CPPFLAGS = $(shell dpkg-buildflags --get CPPFLAGS)
+blockdomains: CFLAGS = $(shell dpkg-buildflags --get CFLAGS)
+blockdomains: LDFLAGS = $(shell dpkg-buildflags --get LDFLAGS)
+blockdomains: CFLAGS += -Wall
blockdomains: src/blockdomains.c src/cache.c src/database.c
blockdomains: src/blockdomains.c src/cache.c src/database.c
-
gcc -g -Wall
-o $@ $^ -lnetfilter_queue
+
$(LINK.c)
-o $@ $^ -lnetfilter_queue
# Installation
# Installation