~ubuntu-branches/ubuntu/raring/otp/raring

« back to all changes in this revision

Viewing changes to Makefile

  • Committer: Package Import Robot
  • Author(s): Colin Tuckley
  • Date: 2012-06-16 11:40:18 UTC
  • mfrom: (1.1.1)
  • Revision ID: package-import@ubuntu.com-20120616114018-n0v1lpkszrqqc3yu
Tags: 1:1.2.1-1
* New upstream Release (closes: #677079).
* New Maintainer (adopted after email exchange with Pawel Wiecek).
* Bump standards version to 3.9.3 (no changes required).
* Add Homepage to debian/control.
* Bump debhelper compat level to 5

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
 
 
2
CC = gcc
2
3
#CFLAGS = -g -DDEBUG
3
 
CFLAGS = -O
 
4
CFLAGS = -O -Wall
 
5
 
 
6
PAGER = less
4
7
 
5
8
otp:    otp.o md5.o random.o
6
 
        cc $(CFLAGS) otp.o md5.o random.o -o otp
7
 
#       strip otp
 
9
        $(CC) $(CFLAGS) otp.o md5.o random.o -o otp
8
10
 
9
11
manpage:
10
12
        nroff -man otp.1 | $(PAGER)
11
13
 
12
14
printman:
13
 
        ptroff -man otp.1
 
15
        groff -man otp.1 | lp
14
16
 
15
17
otp.man: otp.1
16
18
        nroff -man otp.1 | col -b >otp.man
20
22
        rm -f /tmp/otp.tar.gz
21
23
        gzip /tmp/otp.tar
22
24
 
23
 
test:   otp
24
 
        . ./test.sh
 
25
check:  otp
 
26
        chmod u+x test.bat
 
27
        ./test.sh
25
28
        diff test.mas test.out
26
29
 
27
30
clean:
28
 
        rm -f *.bak *.o otp test.out *.shar core *.obj *.pdb *.sbr *.bsc *.vcw *.bin t?*.md5
 
31
        rm -f *.bak *.o otp test.out *.shar core core.* \
 
32
              *.obj *.pdb *.sbr *.bsc *.vcw *.bin t?*.md5