#%DEPENDS = std_compat_header_wrapper iostream_extension unit_test

CXX = ../../bin/g++w
RM  = rm

INCLUDES = -I../std_compat_header_wrapper/include \
	   -I../iostream_extension/include \
	   -I../unit_test/include

CXXFLAGS = -g $(CCXXOPTFLAGS) $(CXXOPTFLAGS) $(INCLUDES) \
	      $(CCXXADDITIONALFLAGS) $(CXXADDITIONALFLAGS)

LDFLAGS = $(LDADDITIONALFLAGS)


all: check

library:

library-lean:
	$(RM) -f *.o compat_stringstream-test

compat_stringstream-test: compat_stringstream-test.o
	$(CXX) $(CXXFLAGS) -o compat_stringstream-test \
		compat_stringstream-test.o $(LDFLAGS)


check: compat_stringstream-test
	./compat_stringstream-test

clean:
	$(RM) -f *.o compat_stringstream-test

.PHONY: all library library-lean check clean

##
compat_stringstream-test.o: compat_stringstream-test.cc \
			    compat_stringstream.h \
			    compat_stringstreambuf.h
