Makefile 754 Bytes
include $(ROOT)/usr/include/make/PRdefs

OPTIMIZER = -g

TARGETS=libgdb.a

PRDEPTH=../
include $(PRDEPTH)/PRdefs

LCOPTS    = -non_shared -G 0 -mips2 -fullwarn -wlint,-f -woff 819,826,852,827
LCINCS    = -I. -I$(PRDEPTH)/include -I$(PRDEPTH)/libultra/os

LASOPTS   = -non_shared -G 0 -mips2
LASINCS   = -I. -I$(PRDEPTH)/include -I$(PRDEPTH)/libultra/os

ASFILES   = exceptasm.s gdbwritebackdcache.s gdbinvalicache.s gdbbreak.s

CFILES    = initialize.c gdbHandler.c gdbStep.c

exceptasm.o:	exceptasm.s
	$(AS) $(LASDEFS) $(LASINCS) -non_shared -G 0 -mips3 -32 \
	$(GASFLAGS) -o $@ exceptasm.s

libgdb.a: Makefile $(OBJECTS)
	$(AR) rc $@ $(OBJECTS)

default: $(TARGETS)

include $(COMMONRULES)

headers exports:

install: default

exports install: default