summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile15
1 files changed, 10 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index f22e98e..744a229 100644
--- a/Makefile
+++ b/Makefile
@@ -1,8 +1,13 @@
build: clean
- gcc -o ouija ouija.c session.c utils.c
-
-debug: clean
- gcc -g -o ouija ouija.c session.c utils.c
+ cc -o ouija ouija.c session.c utils.c
clean:
- rm -rf ouija
+ rm -rf ouija
+
+install: build
+ mkdir -p /usr/local/bin
+ cp -f ouija /usr/local/bin
+ chmod 755 /usr/local/bin
+
+uninstall:
+ rm -rf /usr/local/bin/ouija