From bc0a9edd47dad7a0bf7df26941a0d870c0c3d0ad Mon Sep 17 00:00:00 2001 From: Jed Barber Date: Mon, 9 Jan 2017 19:53:06 +1100 Subject: Cleaning things up, splitting code into more modules --- makefile | 21 ++++----------------- 1 file changed, 4 insertions(+), 17 deletions(-) (limited to 'makefile') diff --git a/makefile b/makefile index 04001c7..9475db8 100644 --- a/makefile +++ b/makefile @@ -1,24 +1,11 @@ -all: main +all: stv -main: - ghc --make src/main.hs -isrc:build -odir build -outputdir build \ - -hidir build -stubdir build -dumpdir build -o bin/counter - - - -#testmain: ada_array -# ghc --make src/testmain.hs -isrc:build -odir build -outputdir build \ -# -hidir build -stubdir build -dumpdir build -o bin/testmain build/ada_array.o - - - -#ada_array: -# gnatmake -Isrc -D build -c preference_arrays -# gnatbind -n build/preference_arrays -# gnatlink -r -nostdlib -o build/ada_array.o build/preference_arrays.ali +stv: + ghc -O2 --make src/main.hs -isrc:build -odir build -outputdir build \ + -hidir build -stubdir build -dumpdir build -o bin/stv -- cgit