]> andersk Git - udis86.git/blame - tests/Makefile.win32
Initial commit
[udis86.git] / tests / Makefile.win32
CommitLineData
bbe45369 1# Makefile
2
3CC = cl
4RM = del
5
6
7.SUFFIXES: .c .obj
8.c.obj:
9 $(CC) -I.. -c $(CFLAGS) -o $@ $<
10
11OBJS = gen.obj
12
13gen.exe: $(OBJS)
14 $(CC) $(OBJS) ../libudis86/udis86.lib -o gen.exe
15test16: 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
20test32: 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
25test64: 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
30testjmp: gen.exe
31 yasm -f bin -o testjmp.bin testjmp.asm
32 ..\udcli\udcli -64 < testjmp.bin > testjmp.out
33 type testjmp.out | more
34clean:
35 $(RM) *.obj gen.exe *.bin *.out
This page took 0.051202 seconds and 5 git commands to generate.