summaryrefslogtreecommitdiff
path: root/makefile
blob: 04001c781de7b7671922d08149ab6103812f663d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24


all: main



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