Index: branches/eam_branches/largefiles.20100314/Ohana/src/libohana/Makefile
===================================================================
--- branches/eam_branches/largefiles.20100314/Ohana/src/libohana/Makefile	(revision 27312)
+++ branches/eam_branches/largefiles.20100314/Ohana/src/libohana/Makefile	(revision 27336)
@@ -17,12 +17,8 @@
 FULL_CPPFLAGS = $(BASE_CPPFLAGS)
 FULL_LDFLAGS  = $(BASE_LDFLAGS)
-TFLAGS        = $(FULL_CFLAGS) $(FULL_LDFLAGS) -ltap_ohana
+TFLAGS        = $(FULL_CFLAGS) $(FULL_CPPFLAGS) $(FULL_LDFLAGS) -lohana -ltap_ohana
 
 install: $(DESTLIB)/libohana.a $(DESTLIB)/libohana.$(DLLTYPE)
 libohana: $(LIB)/libohana.$(ARCH).a $(LIB)/libohana.$(ARCH).$(DLLTYPE)
-testcode: install $(TEST)
-test:
-	make testcode
-	for i in $(TEST); do $$i; done
 
 INCS = \
@@ -48,4 +44,9 @@
 $(TESTDIR)/string.$(ARCH)
 
+testcode: install $(TEST)
+test:
+	make testcode
+	for i in $(TEST); do $$i; done
+
 $(OBJS): $(INCS)
 
