CC  = ../../bin/gccw
CXX = ../../bin/g++w
MAKE_AR = ../../bin/make_ar
RM = rm

CFLAGS   = -g $(CCXXOPTFLAGS) $(COPTFLAGS) \
	      $(CCXXADDITIONALFLAGS) $(CADDITIONALFLAGS)
CXXFLAGS = -g $(CCXXOPTFLAGS) $(CXXOPTFLAGS) \
	      $(CCXXADDITIONALFLAGS) $(CXXADDITIONALFLAGS)

all:

library:

library-only:
	$(RM) -f *.o ref_count_ptr-test

#ref_count_ptr-test: ref_count_ptr-test.cc ref_count_ptr.h heap_status.o
#	$(CXX) -o ref_count_ptr-test ref_count_ptr-test.cc heap_status.o \
#		$(CXXFLAGS)

ref_count_ptr-test: ref_count_ptr-test.cc ref_count_ptr.h
	$(CXX) -o ref_count_ptr-test ref_count_ptr-test.cc -O3 $(CXXFLAGS)

heap_status.o: heap_status.h heap_status.cc

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