ifndef MONO_PATH
export MONO_PATH = /usr/lib/mono/2.0
endif

MCS ?= gmcs
LIBS += -r:Mono.Cecil.dll

SOURCES := $(shell cat ildasm.exe.sources)

ildasm.exe:	$(SOURCES)
	$(MCS) $(DEFINES) $(SOURCES) -out:$@ $(LIBS)

clean:
	rm -f ildasm.exe
