.SUFFIXES : .x .o .c .s
CC=sh-linux-gcc
LD=sh-linux-ld
AS=$(CC)
CFLAGS=-c -O -g -ml
ASFLAGS=-c -O -g -ml

OBJS=flash.o init.o int.o int2.o

all : flash.out

flash.out : $(OBJS) flash.cmd
	$(LD) -Map flash.map -o flash.out $(OBJS) -Tflash.cmd

clean:
	rm -f flash.out flash.o init.o
