annotate udis86-1.4/libudis86/Makefile.win32 @ 1:4a9dcbd9e54f

-files of 0.13 beta -fixes so that it now compiles with the current dmd version
author marton@basel.hu
date Tue, 05 Apr 2011 20:44:01 +0200
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
1 # Makefile - libudis86
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
2 #
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
3 #
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
4
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
5 SHELL = @SHELL@
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
6 top_srcdir = @top_srcdir@
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
7 srcdir = @srcdir@
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
8 CC = cl
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
9 CFLAGS = /O2
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
10 AR = lib
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
11 RM = del
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
12 PERL = perl
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
13
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
14 .SUFFIXES: .c .obj
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
15 .c.obj:
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
16 $(CC) -c $(CFLAGS) -o $@ $<
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
17
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
18 OBJS = mnemonics.obj \
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
19 opcmap.obj \
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
20 input.obj \
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
21 decode.obj \
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
22 syn.obj \
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
23 syn-intel.obj \
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
24 syn-att.obj \
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
25 udis86.obj
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
26
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
27 libudis86.a: $(OBJS)
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
28 $(AR) /out:udis86.lib $(OBJS)
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
29
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
30 mnemonics.c: mnemonics.dat
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
31 $(PERL) mnemonics.pl < mnemonics.dat
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
32 mnemonics.h: mnemonics.dat
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
33 $(PERL) mnemonics.pl < mnemonics.dat
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
34 input.c: input.h types.h
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
35 opcmap.c: opcmap.h input.h types.h
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
36 decode.c: opcmap.h input.h types.h extern.h
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
37 syn-intel.c: syn.h input.h types.h opcmap.h
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
38 syn-att.c: syn.h input.h types.h opcmap.h
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
39 syn.c: syn.h types.h opcmap.h
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
40 udis86.c: input.h syn.h types.h extern.h
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
41
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
42 clean:
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
43 $(RM) *.obj *.lib
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
44