$(SHCC) -shared $(LDFLAGS) -o $@ $(OBJS) $(LIBS)
$(STATICLIB_PREFIX)dataworks$(STATICLIB_SUFFIX): $(OBJS)
- $(AR) rcs $@ $(OBJS)
+ $(AR) $(AR_ARGS) $(OBJS)
$(RANLIB) $@
.c.o:
CC = WATCOM=$$WATCOM INCLUDE=$$WATCOM/h PATH=$$PATH:$$WATCOM/binl64 owcc
SHCC = /bin/true
-AR = /bin/true
+AR = WATCOM=$$WATCOM INCLUDE=$$WATCOM/h PATH=$$PATH:$$WATCOM/binl64 wlib
+AR_ARGS = -b -n -fag -o=\$$@
RANLIB = /bin/true
LIB_PREFIX =
LIB_SUFFIX = .dll
CC = cc
SHCC = cc
AR = ar
+AR_ARGS = rcs \$$@
RANLIB = ranlib
CFLAGS = -std=c99 -D_DEFAULT_SOURCE
LDFLAGS = -L`pwd`/Library
# $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)" STATICLIB_PREFIX="$(STATICLIB_PREFIX)" STATICLIB_SUFFIX="$(STATICLIB_SUFFIX)" AR="$(AR)" RANLIB="$(RANLIB)" SHCC="$(SHCC)" LINK_LIN="$(LINK_LIB)"
+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)" SHCC="$(SHCC)" LINK_LIN="$(LINK_LIB)" AR_ARGS="$(AR_ARGS)"
.PHONY: all no-doc replace format clean ./Library ./Client ./Document archive archive-prepare archive-cleanup archive-targz archive-zip