Makefile revision 5821806d5e7f356e8fa4b058a389a808ea183019
1all: 2 cl \ 3 sidestep/ia32_modrm_map.cc \ 4 sidestep/ia32_opcode_map.cc \ 5 sidestep/mini_disassembler.cc \ 6 main.cc \ 7 /Fetraceline.exe \ 8 /D_WIN32_WINNT=0x0500 \ 9 /D_HAS_EXCEPTIONS=0 \ 10 "/I." \ 11 /Zi \ 12 /link \ 13 kernel32.lib user32.lib dbghelp.lib powrprof.lib 14 15tests: 16 cl \ 17 assembler_unittest.cc \ 18 /Fassembler_unittest.exe \ 19 /D_WIN32_WINNT=0x0500 \ 20 /D_HAS_EXCEPTIONS=0 \ 21 /Zi \ 22 /link \ 23 kernel32.lib user32.lib dbghelp.lib powrprof.lib 24 25stubs : stubs.asm 26 nasm -o stubs stubs.asm 27 ndisasm -u stubs 28 29clean: 30 rm -f *.obj {cpuinfo,traceline,assembler_unittest,vc80}.{exe,ilk,pdb} stubs 31