diff example/word_count/Makefile.macosx @ 2003:7dc90c83a787 draft

change set_last(t to next). run test at compilation time
author Shohei KOKUBO <e105744@ie.u-ryukyu.ac.jp>
date Mon, 05 May 2014 22:11:49 +0900
parents 54cf940e124a
children 258498680128
line wrap: on
line diff
--- a/example/word_count/Makefile.macosx	Fri May 02 20:44:05 2014 +0900
+++ b/example/word_count/Makefile.macosx	Mon May 05 22:11:49 2014 +0900
@@ -30,6 +30,10 @@
 debug: $(TARGET)
 	sudo gdb ./$(TARGET) 
 
+test:
+	./$(TARGET) -file c.txt -cpu 1
+	./$(TARGET) -file c.txt -cpu 4
+	./$(TARGET) -file c.txt -cpu 4 -i
 clean:
 	rm -f $(TARGET) $(OBJS) $(TASK_OBJS)
 	rm -f *~ \#*