Introduction
Introduction Statistics Contact Development Disclaimer Help
Makefile: cleanup a bit, remove leftover vars - pubsubhubbubblub - pubsubhubbub…
git clone git://git.codemadness.org/pubsubhubbubblub
Log
Files
Refs
README
LICENSE
---
commit e5180265f1b2d6713de0de2efb01f22b18d388c8
parent 14fe35c0d15bb77075e2a7bd225884510b431eba
Author: Hiltjo Posthuma <[email protected]>
Date: Sat, 28 May 2022 12:47:12 +0200
Makefile: cleanup a bit, remove leftover vars
Diffstat:
M Makefile | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
---
diff --git a/Makefile b/Makefile
@@ -1,16 +1,15 @@
.POSIX:
-PREFIX = /usr/local
-CGIDIR = /var/www/cgi-bin
-
build: clean
+ # compile
${CC} -c sha1.c ${CFLAGS} ${CPPFLAGS}
${CC} -c hmac_sha1.c ${CFLAGS} ${CPPFLAGS}
${CC} -c strlcat.c xml.c ${CFLAGS} ${CPPFLAGS}
${CC} -c pubsub_cgi.c ${CFLAGS} ${CPPFLAGS} -D_GNU_SOURCE
${CC} -c pubsub_gethub.c ${CFLAGS} ${CPPFLAGS} -D_GNU_SOURCE
- # link
+ # static link CGI
${CC} -o pubsub_cgi hmac_sha1.o sha1.o pubsub_cgi.o ${LDFLAGS} -static…
+ # link
${CC} -o pubsub_gethub strlcat.o xml.o pubsub_gethub.o ${LDFLAGS}
clean:
You are viewing proxied material from codemadness.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.