qse/ase/awk/makefile.bcc

25 lines
469 B
Plaintext
Raw Normal View History

2006-08-31 16:00:20 +00:00
SRCS = awk.c err.c tree.c str.c tab.c map.c parse.c \
2006-10-03 14:43:38 +00:00
run.c rec.c val.c func.c misc.c extio.c rex.c
2005-09-30 09:40:15 +00:00
OBJS = $(SRCS:.c=.obj)
2006-10-24 04:31:07 +00:00
OUT = aseawk.lib
2005-09-30 09:40:15 +00:00
CC = bcc32
2006-10-28 05:24:08 +00:00
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)
2005-09-30 09:40:15 +00:00
all: $(OBJS)
tlib $(OUT) @&&!
+-$(**: = &^
+-)
!
clean:
2006-10-08 05:46:41 +00:00
-del $(OBJS) $(OUT) *.obj
2005-09-30 09:40:15 +00:00
.SUFFIXES: .c .obj
.c.obj:
$(CC) $(CFLAGS) -c $<