diff options
Diffstat (limited to 'rbutil/Makefile')
-rw-r--r-- | rbutil/Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/rbutil/Makefile b/rbutil/Makefile index 9321ed8ed8..fe3b5b74a1 100644 --- a/rbutil/Makefile +++ b/rbutil/Makefile | |||
@@ -18,7 +18,7 @@ CXX=$(shell $(PREFIX)wx-config --version=2.8 --cxx) | |||
18 | INC = `$(PREFIX)wx-config --version=2.8 --cxxflags` | 18 | INC = `$(PREFIX)wx-config --version=2.8 --cxxflags` |
19 | LIBS = `$(PREFIX)wx-config --version=2.8 --libs` | 19 | LIBS = `$(PREFIX)wx-config --version=2.8 --libs` |
20 | CFLAGS= -Wall -Wundef -DRBUTIL -D_LARGEFILE64_SOURCE | 20 | CFLAGS= -Wall -Wundef -DRBUTIL -D_LARGEFILE64_SOURCE |
21 | OBJS=rbutil.o rbutilApp.o rbutilFrm.o rbutilCtrls.o install_dialogs.o bootloaders.o installlog.o ipodpatcher/ipodpatcher.o sansapatcher/sansapatcher.o irivertools.o md5sum.o autodetection.o | 21 | OBJS=rbutil.o rbutilApp.o rbutilFrm.o rbutilCtrls.o install_dialogs.o bootloaders.o installlog.o ipodpatcher/ipodpatcher.o sansapatcher/sansapatcher.o irivertools.o md5sum.o autodetection.o talkfile.o |
22 | 22 | ||
23 | ifdef __CYGWIN__ | 23 | ifdef __CYGWIN__ |
24 | OBJS+=ipodpatcher/ipodio-win32.o sansapatcher/sansaio-win32.o | 24 | OBJS+=ipodpatcher/ipodio-win32.o sansapatcher/sansaio-win32.o |
@@ -32,9 +32,9 @@ EXTRAOBJS = $(wildcard icons/*.o) | |||
32 | 32 | ||
33 | SILENT = @ | 33 | SILENT = @ |
34 | 34 | ||
35 | # Install into /usr/local by default | 35 | # Install with / as root by default |
36 | ifndef DESTDIR | 36 | ifndef DESTDIR |
37 | DESTDIR=/usr/local | 37 | DESTDIR="" |
38 | endif | 38 | endif |
39 | 39 | ||
40 | # type "make WIN=1" for a Windows build using the Debian mingw cross-compiler | 40 | # type "make WIN=1" for a Windows build using the Debian mingw cross-compiler |
@@ -75,4 +75,4 @@ clean: | |||
75 | 75 | ||
76 | .PHONY: install | 76 | .PHONY: install |
77 | install: | 77 | install: |
78 | install -D rbutil$(EXT) $(DESTDIR)/bin/rbutil$(EXT) | 78 | install -D rbutil$(EXT) $(DESTDIR)/usr/bin/rbutil$(EXT) |