25 lines
469 B
Plaintext
25 lines
469 B
Plaintext
SRCS = awk.c err.c tree.c str.c tab.c map.c parse.c \
|
|
run.c rec.c val.c func.c misc.c extio.c rex.c
|
|
OBJS = $(SRCS:.c=.obj)
|
|
OUT = aseawk.lib
|
|
|
|
CC = bcc32
|
|
CFLAGS_COMMON = -O2 -WM -w -w-inl -w-sig -w-spa -w-hid -RT- -I../..
|
|
CFLAGS_RELEASE = $(CFLAGS_COMMON) -DNDEBUG
|
|
CFLAGS_DEBUG = $(CFLAGS_COMMON) -D_DEBUG
|
|
CFLAGS = $(CFLAGS_DEBUG)
|
|
|
|
all: $(OBJS)
|
|
tlib $(OUT) @&&!
|
|
+-$(**: = &^
|
|
+-)
|
|
!
|
|
|
|
clean:
|
|
-del $(OBJS) $(OUT) *.obj
|
|
|
|
.SUFFIXES: .c .obj
|
|
.c.obj:
|
|
$(CC) $(CFLAGS) -c $<
|
|
|