SRCFILES  = qbga32.def qbga32.d util.d bga_melter.d hack.d windll.d qbga_gui.d
BZ2FILES  = libbz2\\bzlib.d libbz2\\libbz2.lib
DEPLIBS   = dmd_win32.lib
OPTS      = -release -shared
#OPTS      = -unittest

QBga32.dll: $(SRCFILES) $(BZ2FILES)
	dmd.exe $(OPTS) -ofQBga32.dll $(SRCFILES) $(BZ2FILES) $(DEPLIBS)

clean:
	del *.map
	del *.obj
