Makefile
628 Bytes
#
# Makefile for tool to load packed ROM image to Indy
#
PRDEPTH = ../..
include $(PRDEPTH)/PRdefs
OPTIMIZER = -g
TARGETS=romloader
CFILES = romloader.c arcs.c string.c stdio.c ll.c idbg.c except.c
ASFILES = entry.s llasm.s exceptasm.s
LCINCS = -I. -I$(PRDEPTH)/include
LASINCS = -I. -I$(PRDEPTH)/include
LCOPTS = -fullwarn -non_shared -coff -G 0 -mips2
LASOPTS = -non_shared -coff -G 0 -mips2
LLDOPTS = -non_shared -coff -G 0
default: $(TARGETS)
include $(COMMONRULES)
$(TARGETS): $(OBJECTS)
$(LD) $(LDFLAGS) -N -T a8800000 $(OBJECTS) -o $@
exports install: default
$(INSTALL) -m 555 -F /usr/sbin $(TARGETS)