# 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 $< test: test.o $(CC) $(LDFLAGS) -o $@ test.o clean:: rm -f test.o test # Dependencies test.o: test.c xds.h