]> andersk Git - udis86.git/blob - libudis86/Makefile.win32
Initial commit
[udis86.git] / libudis86 / Makefile.win32
1 #
2 # Makefile for win32 compilers
3
4 # (I need some help here.)
5 #
6
7 CC              = cl
8 CFLAGS          = /O2
9 AR              = lib
10 RM              = del
11 PERL            = perl
12
13 .SUFFIXES: .c .obj
14 .c.obj:
15         $(CC) -c $(CFLAGS) -o $@ $<
16
17 OBJS =  itab.obj \
18         input.obj \
19         decode.obj \    
20         input.obj \
21         decode.obj \
22         syn.obj \
23         syn-intel.obj \
24         syn-att.obj \
25         udis86.obj
26
27 HDRS =  types.h \
28         extern.h \
29         itab.h \
30         decode.h \
31         syn.h \
32         input.h
33
34 libudis86.a: $(OBJS)
35         $(AR) /out:udis86.lib $(OBJS)
36
37 itab.c itab.h: x86optable.xml opgen.py
38         python ./opgen.py
39
40 itab.c input.c decode.c syn-intel.c syn-att.c syn.c udis86.c:  $(HDRS)
41
42 clean:
43         $(RM) *.obj *.lib
This page took 0.124417 seconds and 5 git commands to generate.