aboutsummaryrefslogtreecommitdiff
path: root/6.1.1/Makefile
diff options
context:
space:
mode:
authorsinanmohd <sinan@firemail.cc>2023-05-01 22:12:45 +0530
committersinanmohd <sinan@firemail.cc>2023-05-01 22:13:41 +0530
commit16c2c412f3062924ad7869068730b2c56afbcff8 (patch)
treead1dbf51430bf72064503ae0122f435b13a9fc6a /6.1.1/Makefile
parentc5b2cb7bfd3a59036cc3ad7088f4ca3765025f58 (diff)
6.1.1: 6.1 but with pointers instead of array indices
Diffstat (limited to '6.1.1/Makefile')
-rw-r--r--6.1.1/Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/6.1.1/Makefile b/6.1.1/Makefile
new file mode 100644
index 0000000..eaee48d
--- /dev/null
+++ b/6.1.1/Makefile
@@ -0,0 +1,11 @@
+objects = main.o getch.o word.o key.o
+
+keys : $(objects)
+ cc -o keys $(objects)
+
+main.o : word.h key.h
+word.o : getch.h
+
+.PHONY : clean
+clean :
+ rm keys $(objects)