summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAaron Ball <nullspoon@oper.io>2022-10-31 17:53:04 -0600
committerAaron Ball <nullspoon@oper.io>2022-10-31 17:53:04 -0600
commit0e0fb17e26612caeea11600e2f17a54cecf651db (patch)
treece2a5ead628431fff689fef6398c3a77eb0c6c37 /Makefile
parent2056e1a2ec447cc0e9378d33667a6f26685725a0 (diff)
downloadleak-utils-0e0fb17e26612caeea11600e2f17a54cecf651db.tar.gz
leak-utils-0e0fb17e26612caeea11600e2f17a54cecf651db.tar.xz
Add fdleak tool
This tool opens the specified number of file descriptors and then deletes the source file to create dead file descriptors.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index a7669b5..3420642 100644
--- a/Makefile
+++ b/Makefile
@@ -1,10 +1,13 @@
all: memleak balloon
clean:
- rm -vf memleak balloon
+ rm -vf memleak balloon fdleak
memleak:
cc --std=gnu99 -O2 -Wall src/memleak.c -o memleak
balloon:
cc --std=gnu99 -O2 -Wall src/balloon.c -o balloon
+
+fdleak:
+ cc --std=gnu99 -O2 -Wall src/fdleak.c -o fdleak

Generated by cgit