diff --git a/Main.hs b/Main.hs index e432fac..1c31c72 100644 --- a/Main.hs +++ b/Main.hs @@ -1,7 +1,10 @@ module Main where +import IRC.Connection (Port) + main :: IO () -main = cena +main = go + where go = print port -cena :: IO () -cena = putStrLn "ganda cena mano, de boa velho" +port :: Port +port = 69 diff --git a/Tupfile b/Tupfile index 55e49ee..ff85bcd 100644 --- a/Tupfile +++ b/Tupfile @@ -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