Changeset 683 for Daodan


Ignore:
Timestamp:
Mar 3, 2013, 3:36:12 PM (12 years ago)
Author:
alloc
Message:

Daodan: Makefile

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Daodan/makefile

    r678 r683  
    1 GCC = i686-w64-mingw32-gcc
    2 DLLTOOL = i686-w64-mingw32-dlltool
     1ifneq (,$(findstring /cygdrive/,$(PATH)))
     2    UNAME := Cygwin
     3else
     4ifneq (,$(findstring WINDOWS,$(PATH)))
     5    UNAME := Windows
     6else
     7    UNAME := $(shell uname -s)
     8endif
     9endif
     10
     11ifeq ("Linux","$(UNAME)")
     12    GCC := i686-w64-mingw32-gcc
     13    DLLTOOL := i686-w64-mingw32-dlltool
     14else
     15    GCC := gcc
     16    DLLTOOL := dlltool
     17endif
    318
    419GCCFLAGS = -O0 -Wall -fomit-frame-pointer -fpack-struct
Note: See TracChangeset for help on using the changeset viewer.