diff options
author | Jonas Häggqvist <rasher@rasher.dk> | 2007-07-15 22:19:24 +0000 |
---|---|---|
committer | Jonas Häggqvist <rasher@rasher.dk> | 2007-07-15 22:19:24 +0000 |
commit | 97db2ab9a6d1f0adaac276090206a7853356987e (patch) | |
tree | 92abc0891c43e2ef325a59e264ad307674a7e617 /rbutil/Makefile | |
parent | 8f3e56e5be588bbb4beb2ceef2aaf65daaf12993 (diff) | |
download | rockbox-97db2ab9a6d1f0adaac276090206a7853356987e.tar.gz rockbox-97db2ab9a6d1f0adaac276090206a7853356987e.zip |
Fix the Makefile (and hopefully the OS X Makefile as well) after the talkfile commit and let talkfile.cpp build on non-Windows. Also fix incorrect meaning of DESTDIR in the Makefile.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13912 a1c6a512-1295-4272-9138-f99709370657
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) |