summaryrefslogtreecommitdiff
path: root/asm/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'asm/Makefile')
-rw-r--r--asm/Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/asm/Makefile b/asm/Makefile
new file mode 100644
index 0000000..0b8b3c0
--- /dev/null
+++ b/asm/Makefile
@@ -0,0 +1,10 @@
+CROSS=i686-w64-mingw32-
+LD=$(CROSS)ld
+LDFLAGS=-e fcn_0045709c
+LIBS=-lgdi32 -luser32 -lkernel32 -lwinmm -ldsound -lddraw
+
+%.exe: %.obj
+ $(LD) -o $@ $< $(LDFLAGS) $(LIBS)
+
+%.obj: %.asm
+ nasm -f win32 $<