Makefile 562 Bytes
#!smake
# 
# Makefile for R4300 application profiler
#

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

COMMANDS=gperf

CFILES=	gperf.c

#
# LFORMAT is defined in the versiondefs file.
#
SUPPORT_CFILES=	connect.c report.c
SUPPORT_OBJECTS=${SUPPORT_CFILES:.c=.o}

OPTIMIZER = -O
LLDLIBS+= -lmld
LCINCS+= -I. -I$(ROOT)/usr/include/PR
LCOPTS+= -fullwarn
TARGETS= gperf

default: $(TARGETS)

include	$(COMMONRULES)

exports install: default
	$(INSTALL) -F /usr/sbin gperf

$(TARGETS): $(OBJECTS) ${SUPPORT_OBJECTS}
	$(CCF) $(OBJECTS) ${SUPPORT_OBJECTS} $(LDFLAGS) -o $@