aboutsummaryrefslogtreecommitdiff
path: root/7.2/Makefile
diff options
context:
space:
mode:
authorsinanmohd <sinan@firemail.cc>2023-05-11 16:09:33 +0530
committersinanmohd <sinan@firemail.cc>2023-05-11 21:09:58 +0530
commitf481f43596073d7f5cee231da901fb43d6af8366 (patch)
tree80460b62acf783b39793fe0c66943e0ee23f33bb /7.2/Makefile
parentc2e62961609da793219749028e0477adc980451a (diff)
7.2: initial commit
Diffstat (limited to '7.2/Makefile')
-rw-r--r--7.2/Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/7.2/Makefile b/7.2/Makefile
new file mode 100644
index 0000000..982c7a2
--- /dev/null
+++ b/7.2/Makefile
@@ -0,0 +1,11 @@
+objects = main.o getch.o
+CC = gcc
+CFLAGS = -Wvla -Wall -Wextra -Wstrict-prototypes -Wmissing-prototypes -fsanitize=address
+
+fmt : $(objects)
+ $(CC) $(CFLAGS) -o fmt $(objects)
+main.o: getch.h
+
+.PHONY : clean
+clean:
+ rm fmt $(objects)