qse/ase/awk/makefile.sco.cc

21 lines
304 B
C++

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
OBJS = $(SRCS:.c=.o)
OUT = libaseawk.a
CC = cc
CFLAGS = -Xc -a ansi -w3 -O2 -I../..
all: $(OBJS)
ar cr $(OUT) $(OBJS)
clean:
rm -rf $(OBJS) $(OUT) *.obj
.SUFFIXES: .c .o
.c.o:
$(CC) $(CFLAGS) -c $<