gcc_optimizations := -O2
debug :=
gcc_flags := $(gcc_optimizations) $(debug) -Isrc/org/ijg
-gcj_flags := -fCLASSPATH=bin
+gcj_flags := -fCLASSPATH=src
gcj := $(gcc_path)/bin/$(target)-gcj $(gcj_flags) $(gcc_flags)
g++ := $(gcc_path)/bin/$(target)-g++ $(gcc_flags)
gcc := $(gcc_path)/bin/$(target)-gcc $(gcc_flags)
-gcjh := $(gcc_path)/bin/gcjh
+gcjh := $(gcc_path)/bin/$(target)-gcjh
as := $(gcc_path)/$(target)/bin/as
ar := $(gcc_path)/$(target)/bin/ar
platform=Win32 \
target=i686-pc-mingw32 \
target_bin=xwt.exe \
- platform_link="-Wl,--subsystem,windows -lcomdlg32"
+ platform_link="-Wl,--subsystem,windows -lcomdlg32" \
+ platform_java_sources="Win32"
Darwin: upstream
echo -e "\\n=== Darwin ========================================="