diff options
author | rpj <rpj> | 2005-05-26 08:20:44 +0000 |
---|---|---|
committer | rpj <rpj> | 2005-05-26 08:20:44 +0000 |
commit | 616f4af390a6872fe49c1a7b4bdf72d51ea9ede3 (patch) | |
tree | e477e76149a0e08d5b28d5f535fafdbc8ebf6e3f /GNUmakefile | |
parent | 1626f6a4e33be4214afe114a97e0d11d07158260 (diff) |
''
Diffstat (limited to 'GNUmakefile')
-rw-r--r-- | GNUmakefile | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/GNUmakefile b/GNUmakefile index daf7e00..a8d3639 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 |