annotate udis86-1.4/libudis86/Makefile.standalone @ 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 # Udis86 Standalone
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 LDFLAGS += -r
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
6 CFLAGS += -Wall -O2
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
7 UD_STANDALONE ?= ud_standalone.o
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
8
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
9 .PHONY: clean
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
10 .SUFFIXES: .c .o
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
11 .c.o:
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
12 $(CC) -c $(CFLAGS) -D__UD_STANDALONE__ -o $@ $<
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 OBJS = mnemonics.o \
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
15 opcmap.o \
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
16 input.o \
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
17 decode.o \
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
18 syn.o \
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
19 syn-intel.o \
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
20 syn-att.o \
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
21 udis86.o
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
22
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
23 $(UD_STANDALONE): clean $(OBJS)
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
24 $(LD) $(LDFLAGS) $(OBJS) -o $@
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
25 clean:
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
26 $(RM) -f $(OBJS) $(UD_STANDALONE)