summaryrefslogtreecommitdiff
path: root/GNUmakefile
diff options
context:
space:
mode:
authorrpj <rpj>2005-05-26 08:15:53 +0000
committerrpj <rpj>2005-05-26 08:15:53 +0000
commit58de21f1e7cde4c32bfd03b545ac3ede6b6a8e38 (patch)
tree395a821800af83ce199eca4cddf30f015ab68042 /GNUmakefile
parent610c2958a3bedd909ccab7971d1e67f6671512a1 (diff)
''
Diffstat (limited to 'GNUmakefile')
-rw-r--r--GNUmakefile16
1 files changed, 10 insertions, 6 deletions
diff --git a/GNUmakefile b/GNUmakefile
index 716d47e..992251d 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -41,18 +41,22 @@ LIBDEST = $(DEVROOT)\DLL
RM = rm -f
MV = mv -f
CP = cp -f
-RC = windres
# If not.
#RM = erase
#MV = rename
#CP = copy
-AR = ar
-DLLTOOL = dlltool
-CC = gcc
-CXX = g++
-RANLIB = ranlib
+# For cross compiling use e.g.
+# make CROSS=i386-mingw32msvc- clean GC-inlined
+CROSS =
+
+AR = $(CROSS)ar
+DLLTOOL = $(CROSS)dlltool
+CC = $(CROSS)gcc
+CXX = $(CROSS)g++
+RANLIB = $(CROSS)ranlib
+RC = $(CROSS)windres
OPT = $(CLEANUP) -O3 -finline-functions
DOPT = $(CLEANUP) -g -O0