aboutsummaryrefslogtreecommitdiff
path: root/7.2/Makefile
diff options
context:
space:
mode:
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)