Makefile
391 Bytes
#!smake
#
# Makefile for stack analysis tool
#
PRDEPTH = ../..
include $(PRDEPTH)/PRdefs
OPTIMIZER = -g
TARGETS=stacktool
CFILES = stacktool.c list.c graph.c
LCINCS = -I. -I$(PRDEPTH)/include
LCOPTS =
default: $(TARGETS)
include $(COMMONRULES)
stacktool: $(OBJECTS)
$(CCF) $(OBJECTS) $(LDFLAGS) -o $@ -lelf -lmld
exports install: default
$(INSTALL) -m 555 -F /usr/sbin $(TARGETS)