blob: cbe5c7ce39c4fbe997067f0489b8f029c29401fd [file] [log] [blame] [raw]
GDC?=gdc
DMD?=dmd
LDC?=ldc2
demangle: demangle.d
ifneq "" "$(shell which ${DMD})"
$(DMD) -O -release $< -of$@
else ifneq "" "$(shell which ${GDC})"
$(GDC) -O2 $< -o $@
else
$(LDC) -O2 $< -of=$@
endif
clean:
rm -f demangle.o demangle