qse/ase/awk/makefile.fbsd

21 lines
308 B
Plaintext
Raw Normal View History

2006-08-26 15:28:08 +00:00
SRCS = awk.c err.c tree.c tab.c map.c parse.c \
run.c sa.c val.c func.c misc.c extio.c rex.c
OBJS = $(SRCS:.c=.o)
OUT = libxpawk.a
CC = cc
CFLAGS = -Wall -I../.. -DXP_AWK_STAND_ALONE
all: $(OBJS)
ar cr $(OUT) $(OBJS)
clean:
rm -rf $(OBJS) $(OUT) *.obj
.SUFFIXES: .c .o
.c.o:
$(CC) $(CFLAGS) -c $<