arch=i686-w64-mingw32 srcdir=../../src prefix=/usr/$(arch) NSIS_ARCH=i586 NSIS_PROGRAMFILES=PROGRAMFILES NSIS_REGVIEW=32 PROGRAM=hpgs.exe SLIB=hpgs-$(DLL_VERSION).dll IMPLIB=libhpgs.dll.a slibsfx=bin OBJ=o CC=$(arch)-gcc STRIP=$(arch)-strip WINDRES=$(arch)-windres LNS=ln -sf COPT=-g -O2 #COPT=-g #COPT=-O3 -march=pentium4 -msse2 -mfpmath=sse CFLAGS=$(COPT) -Wall -DHPGS_SHARED -I$(srcdir) LIBCFLAGS=-DHPGS_BUILD_SLIB -DHPGS_HAVE_GETTEXT LDFLAGS= LIBS=-lz -lm -liconv -lintl SLD=$(arch)-gcc SLDFLAGS=-shared -Wl,-dll -Wl,--out-implib=$(IMPLIB) include $(srcdir)/include.mak