ViewVC Help
View File | Revision Log | View Changeset | Root Listing
root/Oni2/Daodan/makefile
(Generate patch)

Comparing Daodan/makefile (file contents):
Revision 682 by alloc, Sat Mar 2 23:46:39 2013 UTC vs.
Revision 683 by alloc, Sun Mar 3 14:36:12 2013 UTC

# Line 1 | Line 1
1 < GCC = i686-w64-mingw32-gcc
2 < DLLTOOL = i686-w64-mingw32-dlltool
1 > ifneq (,$(findstring /cygdrive/,$(PATH)))
2 >    UNAME := Cygwin
3 > else
4 > ifneq (,$(findstring WINDOWS,$(PATH)))
5 >    UNAME := Windows
6 > else
7 >    UNAME := $(shell uname -s)
8 > endif
9 > endif
10 >
11 > ifeq ("Linux","$(UNAME)")
12 >    GCC := i686-w64-mingw32-gcc
13 >    DLLTOOL := i686-w64-mingw32-dlltool
14 > else
15 >    GCC := gcc
16 >    DLLTOOL := dlltool
17 > endif
18  
19   GCCFLAGS = -O0 -Wall -fomit-frame-pointer -fpack-struct
20   LINKFLAGS = -O0 -Wall -fomit-frame-pointer -fpack-struct -s -mdll -mthread

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)