File: Makefile

package info (click to toggle)
otp 970425-7
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k, lenny, squeeze
  • size: 136 kB
  • ctags: 123
  • sloc: ansic: 695; makefile: 53; sh: 8
file content (28 lines) | stat: -rw-r--r-- 457 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28

#CFLAGS = -g -DDEBUG
CFLAGS = -O

otp:	otp.o md5.o random.o
	cc $(CFLAGS) otp.o md5.o random.o -o otp
#	strip otp

manpage:
	nroff -man otp.1 | $(PAGER)

printman:
	ptroff -man otp.1

otp.man: otp.1
	nroff -man otp.1 | col -b >otp.man

tar:	clean
	tar cfv /tmp/otp.tar . 
	rm -f /tmp/otp.tar.gz
	gzip /tmp/otp.tar

test:	otp
	. ./test.sh
	diff test.mas test.out

clean:
	rm -f *.bak *.o otp test.out *.shar core *.obj *.pdb *.sbr *.bsc *.vcw *.bin t?*.md5