Use size-dependant no. of words, with OPEN_MAX as default for fd_set size.
[minix3.git] / commands / awk / Makefile
blob6816591855f44abe6938268f722247c2f33f259e
1 # Makefile for awk.
3 CC = exec cc
4 CFLAGS = -D_MINIX -D_POSIX_SOURCE -wo -w
5 LDFLAGS = -i -f
7 OBJS = m.o e.o n.o l.o r.o v.o y.o regexp.o k.o
9 all: awk
11 awk: $(OBJS)
12 $(CC) $(LDFLAGS) -o $@ $(OBJS) #-lm
13 install -S 32kw $@
15 install: /usr/bin/awk
17 /usr/bin/awk: awk
18 install -cs -o bin $? $@
20 clean:
21 rm -f awk *.o a.out *.bak core
23 e.o: awk.h regexp.h
24 l.o: awk.h
25 m.o: awk.h
26 n.o: awk.h
27 r.o: awk.h regexp.h
28 regexp.o: regexp.h
29 v.o: awk.h regexp.h
30 y.o: awk.h