diff options
author | Nicolas "Pixel" Noble <pixel@nobis-crew.org> | 2010-06-07 21:50:29 +0200 |
---|---|---|
committer | Nicolas "Pixel" Noble <pixel@nobis-crew.org> | 2010-06-07 22:07:11 +0200 |
commit | e202f34a9e088b6e497c7aa1e5848de76ba0435e (patch) | |
tree | 1c2019c5727f83fba10920a2a61a48c11006dfec /Makefile | |
parent | 01dc8b8ee0ff54941656bdf688f5ab095acd1ad3 (diff) |
Fixing various things for mingw32 compilation.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -36,7 +36,8 @@ FINK=$(USR) LIBXM = $(FINK) endif LIBXM = $(FINK)/sw/lib/libXm.a -lXp -GMPLIBDIR=../gmp-4.3.2-darwin9/lib +GMPDIR=../gmp-4.3.2-darwin9 +GMPLIBDIR=$(GMPDIR)/lib GMP_LIBS=-all_load $(GMPLIBDIR)/libgmpxx.a $(GMPLIBDIR)/libgmp.a else ARCH_FLAGS=-march=i686 -m32 @@ -44,7 +45,8 @@ SHARED_FLAGS=-shared SHARED_EXT=so LD = g++ -m32 STRIP = strip --strip-unneeded -GMPLIBDIR=../gmp-4.3.2-linux/lib +GMPDIR=../gmp-4.3.2-linux +GMPLIBDIR=$(GMPDIR)/lib GMP_LIBS=-Wl,--whole-archive $(GMPLIBDIR)/libgmpxx.a $(GMPLIBDIR)/libgmp.a -Wl,--no-whole-archive endif @@ -52,6 +54,7 @@ INCLUDES = \ -I../Baltisot/include \ -I../LuaJIT/src \ -I $(FINK)/sw/include \ +-I $(GMPDIR)/include \ HAVES = -DHAVE_VSSCANF -DHAVE_LIBJPEG -DHAVE_FCNTL -DHAVE_UNISTD_H -DHAVE_FORK -DHAVE_PIPE -DHAVE_FSYNC -DHAVE_MALLOC_H -DHAVE_ASPRINTF -DHAVE_BYTESWAP_H -DCD_NO_OLD_INTERFACE -DGTK_DISABLE_DEPRECATED -DIUPLUA_USELOH -DUSE_STATIC |