
CC=xscale_be-gcc
STRIP=xscale_be-strip
EXEC = cpu
OBJS = cpu.o

all: $(EXEC)

$(EXEC): $(OBJS)
	$(CC) $(LDFLAGS) -o $@ $(OBJS) $(LDLIBS)
	$(STRIP) -s $@

install:
	cp -a cpu ../../rootdiskdir/bin

clean:
	/bin/rm -f cpu cpu.o
