aboutsummaryrefslogtreecommitdiff
path: root/5.19/Makefile
diff options
context:
space:
mode:
authorsinanmohd <sinan@firemail.cc>2023-04-10 07:45:35 +0530
committersinanmohd <sinan@firemail.cc>2023-04-10 07:45:35 +0530
commitc14dab7f3a1cf72619fadce9b81b55426dc0b32e (patch)
tree608080198e6e07c683489644623e2770af6fc69c /5.19/Makefile
parent3594391322954f6538087b1af480cf00fd8da2c8 (diff)
5.19: initial commit, make use of makefiles and split main into multiple files
Diffstat (limited to '5.19/Makefile')
-rw-r--r--5.19/Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/5.19/Makefile b/5.19/Makefile
new file mode 100644
index 0000000..5152fbe
--- /dev/null
+++ b/5.19/Makefile
@@ -0,0 +1,12 @@
+objects = main.o token.o getch.o err.o
+
+undcl : $(objects)
+ cc -o undcl $(objects)
+
+main.o token.o : getch.h
+main.o : token.h
+getch.o : err.h
+
+.PHONY : clean
+clean :
+ rm undcl $(objects)