view 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
line wrap: on
line source

TARGET = mpg.elf

VPU_LDSCRIPT = -T vpu.cmd

ASFLAGS = $(CFLAGS)

VPU_OBJS = MPG.vo

VPU_AS = ee-dvp-as
VPU_ASFLAGS = 

.SUFFIXES: .dsm .vo

.dsm.vo:
	$(VPU_AS) $(VPU_ASFLAGS) -o $@ $<

all: $(TARGET)

$(TARGET): $(VPU_OBJS)
	$(LD) -o $@ $(VPU_OBJS) $(VPU_LDSCRIPT)

clean:
	rm -f $(TARGET)
	rm -f *.o
	rm -f *.vo
# DO NOT DELETE

MPG.vo: basic.vsm vumacros.h vpu.cmd