]> git.huck.website - odot.git/commitdiff
Make instructions
authorHuck Boles <huboles@protonmail.com>
Sat, 26 Nov 2022 23:17:41 +0000 (17:17 -0600)
committerHuck Boles <huboles@protonmail.com>
Sat, 26 Nov 2022 23:17:41 +0000 (17:17 -0600)
Makefile [deleted file]
README.md

diff --git a/Makefile b/Makefile
deleted file mode 100644 (file)
index 3c990fc..0000000
--- a/Makefile
+++ /dev/null
@@ -1,13 +0,0 @@
-SHELL = /bin/bash
-PROG = odot
-BINDIR ?= /usr/bin
-STATEDIR ?= $(HOME)/.local/state
-
-
-install : main.c
-       sudo gcc main.c -o '$(BINDIR)/$(PROG)'
-       [[ ! -d '$(STATEDIR)/$(PROG))' ]] && mkdir -p '$(STATEDIR)/$(PROG)'
-
-clean : 
-       rm -rf '$(STATEDIR)/$(PROG)'
-
index 37e8e908c13a878086fe2ed541b3124fc5664070..15bcad2fc46c63113243bbc7c3eb7d470764ac66 100644 (file)
--- a/README.md
+++ b/README.md
@@ -19,7 +19,8 @@ current todo list in alphabetical order.
 
         $ git clone https://github.com/huboles/odot.git
         $ cd odot
-        $ make install
+        $ sudo cc main.c -o /usr/bin/odot
+        $ mkdir $HOME/.local/state/odot
 
 ***odot*** stores current and completed tasks in plaintext .txt files, located at
 $HOME/.local/state/odot.