# compile with Mingw32/Cygwin

CFLAGS=-shared -Wl,--dll,-s -O3 -fomit-frame-pointer

hq2x.dll: hq2x.c ../plugins.h hq2x16.o hq2x32.o
	gcc $(CFLAGS) hq2x.c hq2x16.o hq2x32.o -o $@

%.o: %.asm 
	nasm $*.asm -o $@ -f coff
