Makefile
546 Bytes
include $(ROOT)/usr/include/make/PRdefs
APP = perf
OPTIMIZER = -g
TARGETS = rom
CFILES = main.c int0.c
LCINCS = -I. -I$(ROOT)/usr/include/PR
LCOPTS = -fullwarn -non_shared -G 0
LASINCS = $(LCINCS)
LASOPTS = -non_shared -G 0
LDIRT = $(APP)
LDFLAGS = $(MKDEPOPT) -nostdlib -L$(ROOT)/usr/lib -lultra_d
default: $(TARGETS)
include $(COMMONRULES)
install: default
codesegment.o: $(OBJECTS) $(ROOT)/usr/lib/libultra_d.a
$(LD) -o codesegment.o -r $(OBJECTS) $(LDFLAGS)
rom $(APP): spec codesegment.o $(MAKEROM)
$(MAKEROM) -r rom spec