From 1652e49e17e4f4dead4bd23694a2b99a06048023 Mon Sep 17 00:00:00 2001 From: Jed Barber Date: Sun, 8 Jan 2017 22:46:29 +1100 Subject: Moved nonworking code to the side --- makefile | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) (limited to 'makefile') diff --git a/makefile b/makefile index cb953a2..04001c7 100644 --- a/makefile +++ b/makefile @@ -1,18 +1,24 @@ -all: testmain +all: main -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 +main: + ghc --make src/main.hs -isrc:build -odir build -outputdir build \ + -hidir build -stubdir build -dumpdir build -o bin/counter -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 +#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 -- cgit