summaryrefslogtreecommitdiff
path: root/asm/Makefile
blob: 17df9dca5b7ed85de96fdc9b16893e2d0801fc0c (plain)
1
2
3
4
5
6
7
8
9
10
11
CROSS=i686-w64-mingw32-
LD=$(CROSS)ld
LDFLAGS=-e fcn_0045709c
LIBS=-lgdi32 -luser32 -lkernel32 -lwinmm -ldsound -lddraw
LIBS+=-lmsvcrt

%.exe: %.obj
	$(LD) -o $@ $< $(LDFLAGS) $(LIBS)

%.obj: %.asm
	nasm -f win32 $<