$(STATICLIB_PREFIX)dataworks$(STATICLIB_SUFFIX): $(OBJS)
$(AR) rcs $@ $(OBJS)
+ $(RANLIB) $@
.c.o:
$(CC) $(CFLAGS) -DPLATFORM_M=\"$(PLATFORM_M)\" -DPLATFORM_P=\"$(PLATFORM_P)\" -fPIC -c -o $@ $<
CC = i686-w64-mingw32-gcc
-AR = i686-w64-mingw32-gcc-ar
+AR = i686-w64-mingw32-ar
+RANLIB = i686-w64-mingw32-ranlib
LIB_PREFIX =
LIB_SUFFIX = .dll
EXEC_SUFFIX = .exe
CC = x86_64-w64-mingw32-gcc
-AR = x86_64-w64-mingw32-gcc-ar
+AR = x86_64-w64-mingw32-ar
+RANLIB = x86_64-w64-mingw32-ranlib
LIB_PREFIX =
LIB_SUFFIX = .dll
EXEC_SUFFIX = .exe
# $Id$
CC = cc
-AR = gcc-ar
+AR = ar
+RANLIB = ranlib
CFLAGS = -std=c99 -D_DEFAULT_SOURCE
LDFLAGS = -L`pwd`/Library
LIBS =
# $Id$
-COMPILE_FLAGS = CC="$(CC)" CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" LIBS="$(LIBS)" LIB_PREFIX="$(LIB_PREFIX)" LIB_SUFFIX="$(LIB_SUFFIX)" EXEC_SUFFIX="$(EXEC_SUFFIX)" PLATFORM_M="$(PLATFORM_M)" PLATFORM_P="$(PLATFORM_P)"
+COMPILE_FLAGS = CC="$(CC)" CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" LIBS="$(LIBS)" LIB_PREFIX="$(LIB_PREFIX)" LIB_SUFFIX="$(LIB_SUFFIX)" EXEC_SUFFIX="$(EXEC_SUFFIX)" PLATFORM_M="$(PLATFORM_M)" PLATFORM_P="$(PLATFORM_P)" STATICLIB_PREFIX="$(STATICLIB_PREFIX)" STATICLIB_SUFFIX="$(STATICLIB_SUFFIX)" AR="$(AR)" RANLIB="$(RANLIB)"
.PHONY: all no-doc replace format clean ./Library ./Client ./Document archive archive-prepare archive-cleanup archive-targz archive-zip