SRCFILES  = qbga32.def dllmain.d util.d windll.d qbga32.d bga_melter.d qbga_gui.d
BZ2FILES  = libbz2\bzlib.d libbz2\libbz2.lib
DEPLIBS   = win32\windef.d
OPTS      = -release -shared

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

testexe.exe: testexe.d
	dmd.exe -gc -oftestexe.exe testexe.d

clean:
	del *.map
	del *.obj
