# milo/Makefile
#
# This file is subject to the terms and conditions of the GNU General Public
# License. See the file COPYING in the main directory of this archive for more
# details.

CC		= mips-linux-gcc
LD		= mips-linux-ld
STRIP		= mips-linux-strip

CFLAGS		=
LDFLAGS		= -N

all:		hello

hello:		hello.o
		$(LD) $(LDFLAGS) -o hello hello.o
		$(STRIP) hello

hello.o:	hello.S
		$(CC) -c hello.S

clean:
		rm -f core a.out *.o *.s

distclean:	clean
		rm -f hello
