aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2025-04-28 13:54:39 -0400
committerIan Moffett <ian@osmora.org>2025-04-28 13:54:39 -0400
commitba593fcacc026ad5d90326c5dcbefd2f4ca2e63c (patch)
treeb693bba22103dc8eb6a710e8b3a2d0e92251b027 /Makefile
Initial commit
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..ee30260
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,12 @@
+CFILES = $(shell find . -name "*.c")
+CFLAGS = -pedantic
+CC = gcc
+
+.PHONY: all
+all:
+ mkdir -p bin/
+ $(CC) $(CFLAGS) $(CFILES) -o bin/omar
+
+.PHONY: clean
+clean:
+ rm -rf bin/