41 lines
742 B
Diff
41 lines
742 B
Diff
diff -u -r ../unrar/makefile ./makefile
|
|
--- ../unrar/makefile 2017-06-11 11:31:05.000000000 +0000
|
|
+++ ./makefile 2017-06-12 00:07:26.385451540 +0000
|
|
@@ -2,14 +2,14 @@
|
|
# Makefile for UNIX - unrar
|
|
|
|
# Linux using GCC
|
|
-CXX=c++
|
|
-CXXFLAGS=-O2
|
|
-LIBFLAGS=-fPIC
|
|
+CXX?=c++
|
|
+CXXFLAGS?=-O2
|
|
+LIBFLAGS=$(LDFLAGS)
|
|
DEFINES=-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP
|
|
-STRIP=strip
|
|
-AR=ar
|
|
-LDFLAGS=-pthread
|
|
-DESTDIR=/usr
|
|
+STRIP?=strip
|
|
+AR?=ar
|
|
+LDFLAGS?=-pthread
|
|
+DESTDIR=$(PREFIX)
|
|
|
|
# Linux using LCC
|
|
#CXX=lcc
|
|
@@ -20,14 +20,6 @@
|
|
#DESTDIR=/usr
|
|
|
|
# CYGWIN using GCC
|
|
-CXX=c++
|
|
-CXXFLAGS=-O2
|
|
-LIBFLAGS=
|
|
-DEFINES=-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP
|
|
-STRIP=strip
|
|
-AR=ar
|
|
-LDFLAGS=-pthread
|
|
-DESTDIR=/usr
|
|
|
|
# HP UX using aCC
|
|
#CXX=aCC
|