summaryrefslogtreecommitdiffstats
path: root/rbutil
diff options
context:
space:
mode:
authorDave Chapman <dave@dchapman.com>2006-12-12 10:44:59 +0000
committerDave Chapman <dave@dchapman.com>2006-12-12 10:44:59 +0000
commit972b2dbcab9aa5cf24dcc51d8a5744306f6248a9 (patch)
treec719bc099bf50a596456e11a95babad143d96c50 /rbutil
parent018a10d7a276c212f6f6b223ea3af2645c8b6f43 (diff)
downloadrockbox-972b2dbcab9aa5cf24dcc51d8a5744306f6248a9.tar.gz
rockbox-972b2dbcab9aa5cf24dcc51d8a5744306f6248a9.tar.bz2
rockbox-972b2dbcab9aa5cf24dcc51d8a5744306f6248a9.zip
Where did main.cpp disappear to? Plus other fixes.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11733 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'rbutil')
-rw-r--r--rbutil/Makefile12
1 files changed, 5 insertions, 7 deletions
diff --git a/rbutil/Makefile b/rbutil/Makefile
index 9d7c04caf1..a665e182fd 100644
--- a/rbutil/Makefile
+++ b/rbutil/Makefile
@@ -10,21 +10,19 @@
# Unix-style Makefile for rbutil
+CXX=$(shell $(PREFIX)wx-config --cxx)
+OBJS=rbutil.o rbutilApp.o rbutilFrm.o wizard_pages.o
+
+
# type "make WIN=1" for a Windows build using the Debian mingw cross-compiler
ifdef WIN
CROSS=i586-mingw32msvc-
WINDRES=i586-mingw32msvc-windres
EXT=.exe
PREFIX=/usr/i586-mingw32msvc/bin/
+ OBJS+=rbutil-rc.o
endif
-
-CC=$(CROSS)gcc
-CXX=$(shell $(PREFIX)wx-config --cxx)
-CFLAGS=-Wall $(INCLUDES)
-LIBS=-lm
-OBJS=main.o rbutil.o rbutilApp.o rbutilFrm.o wizard_pages.o rbutil-rc.o
-
.PHONY: all
all: rbutil$(EXT)