summaryrefslogtreecommitdiff
path: root/makefile
blob: cb953a2c27576c0e8feee903677ba17bf2e5ec2a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18


all: testmain



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