GNUmakefile 857 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
LCOPTS    = -non_shared -G 0 -mips2 -Wall 
LCINCS    = -I. -I$(PRDEPTH)/include -I$(PRDEPTH)/libultra/include

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

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 -Wa,-32 \
	$(GASFLAGS) -o $@ exceptasm.s

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

default: $(TARGETS)

include $(COMMONRULES)

headers exports:

install: default

exports install: default