This commit is contained in:
Tiago Carvalho 2020-07-22 00:56:00 +01:00
parent a13602d993
commit db6c4496e0
2 changed files with 9 additions and 6 deletions

11
Main.hs
View File

@ -1,7 +1,10 @@
module Main where
main :: IO ()
main = cena
import IRC.Connection (Port)
cena :: IO ()
cena = putStrLn "ganda cena mano, de boa velho"
main :: IO ()
main = go
where go = print port
port :: Port
port = 69

View File

@ -1,4 +1,4 @@
include_rules
: foreach *.hs |> ghc $(GHCFLAGS) -c %f |> %B.o %B.hi
: *.o IRC/Connection.o |> ghc -o Main %f |> Main
: foreach *.hs | IRC/*.hi |> ghc $(GHCFLAGS) -c %f |> %B.o %B.hi
: *.o IRC/*.o |> ghc -o Main %f |> Main