summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rbutil/Makefile12
1 files changed, 5 insertions, 7 deletions
diff --git a/rbutil/Makefile b/rbutil/Makefile
index 9d7c04c..a665e18 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)