summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorczjstmax <jstmaxlol@disroot.org>2026-03-19 17:28:54 +0100
committerczjstmax <jstmaxlol@disroot.org>2026-03-19 17:28:54 +0100
commita7d9fd7c5e927fb93a5902b5ea14fed8998abbba (patch)
tree6bc31e1d5bda2858b0d4d2411e167b9aa00ae831 /Makefile
fixed some memory leaks
Signed-off-by: czjstmax <jstmaxlol@disroot.org>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..88c9e3a
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,14 @@
+CC = gcc
+IN = nm.c
+OUT = nshm
+LIBS =
+OPTS = -O0 -g -Wall -Wextra -pedantic
+
+all:
+ $(CC) -o$(OUT) $(LIBS) $(OPTS) $(IN)
+
+run: all
+ ./$(OUT)
+
+clean:
+ rm $(OUT)