# ------------------------------------------
# Sample Makefile for RoBiOS Userprograms
# by Thomas Braeunl
# ------------------------------------------

# using gcc68, etc. scripts by Thomas Braunl
# compiler names and flags
CC = gcc68o
AS = gas68o
LD = gld68o

# you have to adjust this for use with own programs
# --------------------------------------------------
OBJS = sample.o sound.o
# --------------------------------------------------

.s.o:
	${AS} $*.s

.c.o:
	${CC} $*.c

all:            ${OBJS}
		${LD} ${OBJS}

clean:  echocwd
	rm -f ${OBJS} core map

echocwd:
	@pwd

