summaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'makefile')
-rw-r--r--makefile22
1 files changed, 14 insertions, 8 deletions
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