2007-03-02 10:06:17 +00:00
|
|
|
OUT = asecmn
|
|
|
|
|
2007-03-06 14:29:27 +00:00
|
|
|
C_SRCS = mem.c str.c misc.c
|
2007-03-02 10:06:17 +00:00
|
|
|
C_OBJS = $(C_SRCS:.c=.obj)
|
|
|
|
|
|
|
|
CC = cl
|
|
|
|
LD = link
|
|
|
|
|
2007-04-04 14:02:09 +00:00
|
|
|
CFLAGS = /nologo /O2 /MT /W3 /GR- /GS- /Za -I../..
|
2007-03-02 10:06:17 +00:00
|
|
|
|
|
|
|
all: lib
|
|
|
|
|
|
|
|
lib: $(C_OBJS)
|
|
|
|
$(LD) /lib @<<
|
|
|
|
/nologo /out:$(OUT).lib $(C_OBJS)
|
|
|
|
<<
|
|
|
|
|
|
|
|
clean:
|
|
|
|
del $(OBJS) $(OUT).lib *.obj
|
|
|
|
|
|
|
|
.SUFFIXES: .c .obj
|
|
|
|
.c.obj:
|
|
|
|
$(CC) $(CFLAGS) /c $<
|