summary refs log tree commit diff
path: root/Makefile
blob: 243ae9345581dd3381893cae03d9fe9183f697ec (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
.PHONY: all test clean

all: bak

bak: elf.ml lo2.ml
	ocamlc -g -o bak elf.ml lo2.ml

test: bak
	@./bak test
	@cc -O2 -o t tmain.c t.o && ./t

clean:
	rm -f bak t *.o *.cm[io]