2007-02-20 14:15:18 +00:00
|
|
|
OUT = aseutl
|
2007-02-20 14:04:22 +00:00
|
|
|
|
2007-02-20 14:50:35 +00:00
|
|
|
C_SRCS = main.c ctype.c stdio.c
|
2007-02-20 14:04:22 +00:00
|
|
|
C_OBJS = $(C_SRCS:.c=.obj)
|
|
|
|
|
|
|
|
CC = bcc32
|
|
|
|
LD = ilink32
|
|
|
|
AR = tlib
|
|
|
|
|
2007-02-21 04:18:09 +00:00
|
|
|
CFLAGS = -O2 -WM -WU -RT- -w -q -I../.. -DNDEBUG
|
2007-02-20 14:04:22 +00:00
|
|
|
|
|
|
|
LDFLAGS = -Tpd -ap -Gn -c -q
|
|
|
|
STARTUP = c0d32w.obj
|
|
|
|
LIBS = import32.lib cw32mt.lib
|
|
|
|
JNI_LIBS = $(LIBS) $(OUT).lib
|
|
|
|
|
|
|
|
all: lib
|
|
|
|
|
|
|
|
lib: $(C_OBJS)
|
|
|
|
$(AR) $(OUT).lib @&&!
|
|
|
|
+-$(**: = &^
|
|
|
|
+-)
|
|
|
|
!
|
|
|
|
|
|
|
|
clean:
|
|
|
|
-del $(OBJS) $(OUT).lib *.obj
|
|
|
|
|
|
|
|
.SUFFIXES: .c .obj
|
|
|
|
.c.obj:
|
|
|
|
$(CC) $(CFLAGS) -c $<
|
|
|
|
|