# Makefile for 64-bit build
dllname = extra64.dll

# This command doesn't create inport library
extra: extra.o
	g++ -mdll -o $(dllname) -nostdlib -Wl,--entry,DllMain@12 extra.def extra.o
	strip --strip-all $(dllname)

extra.o: extra.cpp
	g++ -Os -c extra.cpp

clean:
	del extra.o

