GNUmakefile 650 Bytes
#
# Makefile for multigen database conversion tools
#

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

OPTIMIZER = -g

#TARGETS= logtest plog
TARGETS= plog

LC++INCS = -I. -I$(ROOT)/usr/include/PR
LCINCS = -I. -I$(ROOT)/usr/include/PR
LCOPTS =-Wall 
LLDLIBS= -lm
.SUFFIXES: .c++
GLDOPTS=

default: $(TARGETS)

include $(COMMONRULES)

getlog: getlog.o
	$(C++F) getlog.o $(LDFLAGS) -o $@

logtest: logtest.o ultralog.o
	$(C++F) logtest.o ultralog.o $(LDFLAGS) -o $@

plog: plog.o log.o
	$(C++F) plog.o log.o $(LDFLAGS) -o $@

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

.c++.o:
	$(HOST_CXX) -I$(ROOT)/host_include -D_LANGUAGE_C_PLUS_PLUS -c $<