source: proto/s2k/trunk/demo/Makefile @ 4010

Last change on this file since 4010 was 4010, checked in by ksherdy, 5 years ago

Minor edit.

File size: 1.3 KB
Line 
1### transpose demo ###
2NEEDLE_DIR=needle
3NEEDLE=$(NEEDLE_DIR)/needle_demo.py
4NEEDLE_TEST_FILE=$(NEEDLE_DIR)/test/needle2.dat
5NEEDLE_DEMO=needle.needle_demo
6
7needle_demo:    $(NEEDLE)
8        python -m$(NEEDLE_DEMO) $(NEEDLE_TEST_FILE)
9
10needle_demo_count:      $(NEEDLE)
11        python -m$(NEEDLE_DEMO) $(NEEDLE_TEST_FILE) -c
12
13### transpose demo ###
14TRANSPOSE_DIR=transpose
15TRANSPOSE=$(TRANSPOSE_DIR)/transpose_demo.py
16TRANSPOSE_TEST_FILE=$(TRANSPOSE_DIR)/test/transpose.dat
17TRANSPOSE_DEMO=transpose.transpose_demo
18
19transpose_demo: $(TRANSPOSE)
20        python -m$(TRANSPOSE_DEMO) $(TRANSPOSE_TEST_FILE)
21
22### strtoll demo ###
23STRTOLL_DIR=strtoll
24STRTOLL=$(STRTOLL_DIR)/strtoll_demo.py
25STRTOLL_TEST_FILE=$(STRTOLL_DIR)/test/strtoll1.dat
26STRTOLL_DEMO=strtoll.strtoll_demo
27
28strtoll_demo:   
29        python -m$(STRTOLL_DEMO) $(STRTOLL_TEST_FILE)
30
31### grep demo ###
32GREP_DIR=grep
33GREP=$(GREP_DIR)/grep_demo.py
34GREP_TEST_FILE=$(GREP_DIR)/test/valid/fruitlist0.dat
35GREP_DEMO=grep.grep_demo
36
37PABLO_DEBUG=-d
38
39grep_demo:     
40        python -m$(GREP_DEMO) $(GREP_TEST_FILE) $(PABLO_DEBUG)
41
42grep_invert_match_demo: $(PABLO_DEMO)
43        python -m$(GREP_DEMO) $(GREP_TEST_FILE) -v $(PABLO_DEBUG)
44
45grep_count_demo: $(PABLO_DEMO)
46        python -m$(GREP_DEMO) $(GREP_TEST_FILE) -c $(PABLO_DEBUG)
47
48grep_count_invert_match_demo: $(PABLO_DEMO)
49        python -m$(GREP_DEMO) $(GREP_TEST_FILE) -c -v $(PABLO_DEBUG)
50
51grep_help:
52        python  -m$(PABLO_DEMO) -h
53
54
Note: See TracBrowser for help on using the repository browser.