.SUFFIXES : .x .o .c .s

CC=..\bin\hcc
TOP=..\bin\top
AS=..\bin\jas
LD=..\bin\segald
RM=del
INC= -I..\\include\\

all     : tfmsmd

tfmsmd:  sega.o tfmsmd.o
	$(LD) -g -o tfmsmd.bin sega.o tfmsmd.o

clean:
	$(RM) *.o
	$(RM) tfmsmd.s
	$(RM) tfmsmd.bin

.c.o: 
	@-echo "Making component -> $*.o"
	$(CC) $(INC) $<
	$(TOP) $*.s
	$(AS) $*.s

.c.s:;

.s.o:
	@-echo "Making component -> $*.o"
	$(AS) $(CDIR)$*.s


# dependencies -- DO NOT DELETE BELOW THIS LINE -- make depends on it.

tfmsmd.o    : tfmsmd.c
sega.o    : sega.s

