annotate vu1code/Makefile @ 93:3731dd016e1b

halfway_3
author Atuto SHIROMA <e095729@ie.u-ryukyu.ac.jp>
date Thu, 26 May 2011 15:01:13 +0900
parents 0fae5658fb0b
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
1 TARGET = mpg.elf
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
2
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
3 VPU_LDSCRIPT = -T vpu.cmd
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
4
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
5 ASFLAGS = $(CFLAGS)
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
6
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
7 VPU_OBJS = MPG.vo
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
8
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
9 VPU_AS = ee-dvp-as
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
10 VPU_ASFLAGS =
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
11
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
12 .SUFFIXES: .dsm .vo
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
13
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
14 .dsm.vo:
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
15 $(VPU_AS) $(VPU_ASFLAGS) -o $@ $<
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
16
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
17 all: $(TARGET)
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
18
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
19 $(TARGET): $(VPU_OBJS)
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
20 $(LD) -o $@ $(VPU_OBJS) $(VPU_LDSCRIPT)
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
21
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
22 clean:
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
23 rm -f $(TARGET)
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
24 rm -f *.o
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
25 rm -f *.vo
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
26 # DO NOT DELETE
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
27
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
28 MPG.vo: basic.vsm vumacros.h vpu.cmd