]> andersk Git - udis86.git/blob - tests/Makefile.win32
Use the public http URI to docbook.xsl.
[udis86.git] / tests / Makefile.win32
1 # Makefile
2
3 CC              = cl
4 RM              = del
5
6
7 .SUFFIXES: .c .obj
8 .c.obj:
9         $(CC) -I.. -c $(CFLAGS) -o $@ $<
10
11 OBJS =  gen.obj
12
13 gen.exe: $(OBJS)
14         $(CC) $(OBJS) ../libudis86/udis86.lib -o gen.exe
15 test16: gen.exe
16         yasm -f bin -o test16.bin test16.asm
17         echo [bits 16]> test16.out
18         gen -16 < test16.bin >> test16.out
19         diff test16.asm test16.out | more
20 test32: gen.exe
21         yasm -f bin -o test32.bin test32.asm
22         echo [bits 32]> test32.out
23         gen -32 < test32.bin >> test32.out
24         diff test32.asm test32.out | more
25 test64: gen.exe
26         yasm -f bin -o test64.bin test64.asm
27         echo [bits 64]> test64.out
28         gen -64 < test64.bin >> test64.out
29         diff test64.asm test64.out | more
30 testjmp: gen.exe
31         yasm -f bin -o testjmp.bin testjmp.asm
32         ..\udcli\udcli -64 < testjmp.bin > testjmp.out
33         type testjmp.out | more
34 clean:
35         $(RM) *.obj gen.exe *.bin *.out
This page took 0.029987 seconds and 5 git commands to generate.