summaryrefslogtreecommitdiff
path: root/rbutil/Makefile
diff options
context:
space:
mode:
authorJonas Häggqvist <rasher@rasher.dk>2007-07-15 22:19:24 +0000
committerJonas Häggqvist <rasher@rasher.dk>2007-07-15 22:19:24 +0000
commit97db2ab9a6d1f0adaac276090206a7853356987e (patch)
tree92abc0891c43e2ef325a59e264ad307674a7e617 /rbutil/Makefile
parent8f3e56e5be588bbb4beb2ceef2aaf65daaf12993 (diff)
downloadrockbox-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/Makefile8
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)
18INC = `$(PREFIX)wx-config --version=2.8 --cxxflags` 18INC = `$(PREFIX)wx-config --version=2.8 --cxxflags`
19LIBS = `$(PREFIX)wx-config --version=2.8 --libs` 19LIBS = `$(PREFIX)wx-config --version=2.8 --libs`
20CFLAGS= -Wall -Wundef -DRBUTIL -D_LARGEFILE64_SOURCE 20CFLAGS= -Wall -Wundef -DRBUTIL -D_LARGEFILE64_SOURCE
21OBJS=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 21OBJS=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
23ifdef __CYGWIN__ 23ifdef __CYGWIN__
24OBJS+=ipodpatcher/ipodio-win32.o sansapatcher/sansaio-win32.o 24OBJS+=ipodpatcher/ipodio-win32.o sansapatcher/sansaio-win32.o
@@ -32,9 +32,9 @@ EXTRAOBJS = $(wildcard icons/*.o)
32 32
33SILENT = @ 33SILENT = @
34 34
35# Install into /usr/local by default 35# Install with / as root by default
36ifndef DESTDIR 36ifndef DESTDIR
37 DESTDIR=/usr/local 37 DESTDIR=""
38endif 38endif
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
77install: 77install:
78 install -D rbutil$(EXT) $(DESTDIR)/bin/rbutil$(EXT) 78 install -D rbutil$(EXT) $(DESTDIR)/usr/bin/rbutil$(EXT)