summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index bc49b08..abd30ba 100644
--- a/Makefile
+++ b/Makefile
@@ -1,8 +1,14 @@
all:
ghc --make -Wall -O2 Main.hs -o hsbot -XScopedTypeVariables
+listen:
+ nc -l 127.0.0.1 6667
+
+run:
+ runghc -XScopedTypeVariables Main
+
clean:
- rm hsbot
- - find ./ -name \*.o -exec rm {} +
- - find ./ -name \*.hi -exec rm {} +
+ - find ./ -name \*.o -exec rm {} \;
+ - find ./ -name \*.hi -exec rm {} \;