Makefile: add clean target - libgcgi - REST library for Gopher | |
git clone git://bitreich.org/libgcgi git://hg6vgqziawt5s4dj.onion/libgcgi | |
Log | |
Files | |
Refs | |
Tags | |
README | |
LICENSE | |
--- | |
commit 875d6f5a34f5592631c24949f612194ba7d626e6 | |
parent cd632cd80d1400eced74e91a2dad416dbe0c01c2 | |
Author: Hiltjo Posthuma <[email protected]> | |
Date: Sat, 30 Jul 2022 13:09:06 +0200 | |
Makefile: add clean target | |
Diffstat: | |
M Makefile | 3 +++ | |
1 file changed, 3 insertions(+), 0 deletions(-) | |
--- | |
diff --git a/Makefile b/Makefile | |
@@ -3,5 +3,8 @@ CFLAGS = -g -pedantic -std=c99 -Wall -Wextra -Wno-unused-functi… | |
all: index.cgi | |
+clean: | |
+ rm -f *.o index.cgi | |
+ | |
index.cgi: index.c libgcgi.h | |
${CC} ${LDFLAGS} ${CFLAGS} -o $@ index.c |