diff options
author | Iru Cai <mytbk920423@gmail.com> | 2021-05-09 20:40:31 +0800 |
---|---|---|
committer | Iru Cai <mytbk920423@gmail.com> | 2021-05-10 09:40:01 +0800 |
commit | 80670e0203d469e700016cd36c274f59824e9850 (patch) | |
tree | 6ef3d0a3073b641dbe5ab355bb83d04e5d206dd5 /asm/Makefile | |
parent | a8b976af1c549be3e7ebe401d15c2826a5a6fa4a (diff) | |
download | rich4-80670e0203d469e700016cd36c274f59824e9850.tar.xz |
add assembly dump of rich4.exe
Diffstat (limited to 'asm/Makefile')
-rw-r--r-- | asm/Makefile | 10 |
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 $< |