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