qse/ase/awk/makefile.fbsd

21 lines
296 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
2006-08-26 15:28:08 +00:00
OBJS = $(SRCS:.c=.o)
2006-10-22 11:46:18 +00:00
OUT = libsseawk.a
2006-08-26 15:28:08 +00:00
CC = cc
2006-10-22 11:46:18 +00:00
CFLAGS = -Wall -I../..
2006-08-26 15:28:08 +00:00
all: $(OBJS)
ar cr $(OUT) $(OBJS)
clean:
rm -rf $(OBJS) $(OUT) *.obj
.SUFFIXES: .c .o
.c.o:
$(CC) $(CFLAGS) -c $<