summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorczjstmax <jstmaxlol@disroot.org>2026-03-18 21:29:42 +0100
committerczjstmax <jstmaxlol@disroot.org>2026-03-18 21:29:42 +0100
commit93fbebf1e805ecd0f18289fbed3effa888212859 (patch)
treece379e15e4b90c73ff5549548c3589f474de8ed8 /Makefile
ver 1
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..41d90f7
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,14 @@
+CC = gcc
+IN = nosh.c
+OUT = nsh
+LIBS =
+OPTS = -O0 -g -Wall -Wextra -pedantic
+
+all:
+ $(CC) -o$(OUT) $(LIBS) $(OPTS) $(IN)
+
+run: all
+ ./$(OUT)
+
+clean:
+ rm $(OUT)