File: Makefile

package info (click to toggle)
ruby-bsearch 1.5-11
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 120 kB
  • sloc: ruby: 115; makefile: 23; sh: 23
file content (20 lines) | stat: -rw-r--r-- 367 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
check: 0-dict 1-dict 2-dict 1000-dict
	@sh test.sh && echo ok

0-dict:
	touch 0-dict

1-dict:
	grep '^[a-zA-z]*$$' /usr/share/dict/words |\
	ruby sample.rb -1  > 1-dict

2-dict:
	grep '^[a-zA-z]*$$' /usr/share/dict/words |\
	ruby sample.rb -1  > 2-dict

1000-dict:
	grep '^[a-zA-z]*$$' /usr/share/dict/words |\
	ruby sample.rb -1000  > 1000-dict

clean:
	rm -f tmp.*