Changeset 143 for trunk/Makefile


Ignore:
Timestamp:
02/12/09 22:24:27 (15 years ago)
Author:
tim
Message:

fixed a null pointer exception

removed some dependencies on less portable items

altered Makefiles to allow for MinGW cross compiling

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Makefile

    r141 r143  
    1515INC=-I/usr/local/include
    1616LIB=-L/usr/local/lib -lm
     17BIN_EXT=
     18EXTRA_OBJ=
    1719
    1820UNAME := $(shell uname)
    1921ifneq ($(UNAME),Linux) 
    2022  LIB:=$(LIB) -liconv
     23endif
     24
     25ifdef BUILD_MINGW
     26CC=i586-mingw32msvc-cc
     27BIN_EXT=.exe
     28LIBICONV_PATH=/usr/local/src/libiconv-1.9.2-1-lib
     29INC:=$(INC) -I$(LIBICONV_PATH)/include
     30EXTRA_OBJ=$(LIBICONV_PATH)/lib/libiconv.dll.a
    2131endif
    2232
Note: See TracChangeset for help on using the changeset viewer.