OSSP CVS Repository

ossp - ossp-pkg/xds/Makefile 1.6
Not logged in
[Honeypot]  [Browse]  [Directory]  [Home]  [Login
[Reports]  [Search]  [Ticket]  [Timeline
  [Raw

ossp-pkg/xds/Makefile 1.6
# Build libxds and support/test programs.

CC		= gcc
CXX		= g++

WARNFLAGS	= -Wall -ansi -pedantic
OPTFLAGS	= -O3 -pipe

CPPFLAGS	=
CFLAGS		=
CXXFLAGS	=
LDFLAGS		=

.c.o:
	$(CC) $(CPPFLAGS) $(WARNFLAGS) $(OPTFLAGS) $(CFLAGS) -c $<

.cpp.o:
	$(CXX) $(CPPFLAGS) $(WARNFLAGS) $(OPTFLAGS) $(CXXFLAGS) -c $<

all:	test xds.3

test:		test.o
	$(CC) $(LDFLAGS) -o $@ test.o

xds.3:		xds.pod
	pod2man --section=3 --center="XDS Library Programmer API " xds.pod >xds.3

clean::
	rm -f test.o test
	rm -f xds.3

check:
	(cd regression-tests && $(MAKE) check)

# Dependencies

test.o: 	test.c xds.h

CVSTrac 2.0.1