2007-02-22 14:46:43 +00:00
|
|
|
OUT = asecmn
|
|
|
|
|
2007-03-06 14:29:27 +00:00
|
|
|
C_SRCS = mem.c str.c misc.c
|
2007-02-22 14:46:43 +00:00
|
|
|
C_OBJS = $(C_SRCS:.c=.obj)
|
|
|
|
|
|
|
|
CC = bcc32
|
|
|
|
LD = ilink32
|
|
|
|
AR = tlib
|
|
|
|
JAVAC = javac
|
|
|
|
|
|
|
|
CFLAGS = -O2 -WM -WU -RT- -w -q -I../.. -DNDEBUG
|
|
|
|
LDFLAGS = -Tpd -ap -Gn -c -q
|
|
|
|
STARTUP = c0d32w.obj
|
|
|
|
LIBS = import32.lib cw32mt.lib
|
|
|
|
|
|
|
|
all: lib
|
|
|
|
|
|
|
|
lib: $(C_OBJS)
|
|
|
|
$(AR) $(OUT).lib @&&!
|
|
|
|
+-$(**: = &^
|
|
|
|
+-)
|
|
|
|
!
|
|
|
|
|
|
|
|
clean:
|
|
|
|
-del $(OBJS) $(OUT).lib *.obj
|
|
|
|
|
|
|
|
.SUFFIXES: .c .obj
|
|
|
|
.c.obj:
|
|
|
|
$(CC) $(CFLAGS) -c $<
|