diff examples/Makefile.in @ 14:5f65da34f4f3

add runnable pthread mode.
author kent <kent@cr.ie.u-ryukyu.ac.jp>
date Sat, 09 Jan 2010 18:13:49 +0900
parents f06fb0370caf
children b5bbbeec1fe8
line wrap: on
line diff
--- a/examples/Makefile.in	Fri Jan 08 20:00:01 2010 +0900
+++ b/examples/Makefile.in	Sat Jan 09 18:13:49 2010 +0900
@@ -168,6 +168,7 @@
 #testmanager_LDADD = ../src/libTaskManager.a
 LDADD = ../src/libTaskManager.a
 AM_CPPFLAGS = -I$(top_srcdir)/src/userinclude
+AM_LDFLAGS = -lpthread
 all: all-am
 
 .SUFFIXES:
@@ -181,9 +182,9 @@
 	      exit 1;; \
 	  esac; \
 	done; \
-	echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  examples/Makefile'; \
+	echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  examples/Makefile'; \
 	cd $(top_srcdir) && \
-	  $(AUTOMAKE) --gnu  examples/Makefile
+	  $(AUTOMAKE) --foreign  examples/Makefile
 .PRECIOUS: Makefile
 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
 	@case '$?' in \