~ubuntu-branches/ubuntu/raring/unrar-nonfree/raring-proposed

« back to all changes in this revision

Viewing changes to makefile.unix

  • Committer: Bazaar Package Importer
  • Author(s): Martin Meredith
  • Date: 2008-10-17 13:31:48 UTC
  • mfrom: (1.1.9 upstream) (5.1.2 sid)
  • Revision ID: james.westby@ubuntu.com-20081017133148-gey9fz11lui8oy79
Tags: 1:3.8.4-1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
#
7
7
 
8
8
# Linux using GCC
9
 
CXX=g++
10
 
CXXFLAGS=-O2
 
9
#CXX=g++
 
10
#CXXFLAGS=-O2
11
11
DEFINES=-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
12
12
STRIP=strip
13
13
DESTDIR=/usr
94
94
 
95
95
##########################
96
96
 
97
 
COMPILE=$(CXX) $(CXXFLAGS) $(DEFINES)
 
97
COMPILE=$(CXX) $(CPPFLAGS) $(CXXFLAGS) $(DEFINES)
98
98
LINK=$(CXX)
99
99
 
 
100
WHAT=UNRAR
 
101
 
100
102
UNRAR_OBJ=filestr.o recvol.o rs.o scantree.o
101
103
LIB_OBJ=filestr.o scantree.o dll.o
102
104
 
117
119
clean:
118
120
        @rm -f *.o *.bak *~ unrar
119
121
 
120
 
unrar:  WHAT=UNRAR
121
122
unrar:  $(OBJECTS) $(UNRAR_OBJ)
122
123
        @rm -f unrar
123
124
        $(LINK) -o unrar $(LDFLAGS) $(OBJECTS) $(UNRAR_OBJ) $(LIBS)