# Makefile for H8/300 cross translation of assembler programs. # Path to assembler (as) and linker (ld). BINDIR = /users/kursus/dArk/solaris/h8300-hitachi-hms/bin/ AS = $(BINDIR)as LD = $(BINDIR)ld # Options for linker. LFLAGS = -Tasm_rcx.lds # Entries. # $< and $@ expands to the actual file name that matches the # right hand side and the left hand side of : (colon). %.o: %.s $(AS) $< -o $@ %.srec: %.o $(LD) $(LFLAGS) -o $@ $<