source: trunk/minix/commands/awk/Makefile@ 11

Last change on this file since 11 was 9, checked in by Mattia Monga, 14 years ago

Minix 3.1.2a

File size: 453 bytes
RevLine 
[9]1# Makefile for awk.
2
3CC = exec cc
4CFLAGS = -D_MINIX -D_POSIX_SOURCE -wo -w
5LDFLAGS = -i -f
6
7OBJS = m.o e.o n.o l.o r.o v.o y.o regexp.o k.o
8
9all: awk
10
11awk: $(OBJS)
12 $(CC) $(LDFLAGS) -o $@ $(OBJS) #-lm
13 install -S 32kw $@
14
15install: /usr/bin/awk
16
17/usr/bin/awk: awk
18 install -cs -o bin $? $@
19
20clean:
21 rm -f awk *.o a.out *.bak core
22
23e.o: awk.h regexp.h
24l.o: awk.h
25m.o: awk.h
26n.o: awk.h
27r.o: awk.h regexp.h
28regexp.o: regexp.h
29v.o: awk.h regexp.h
30y.o: awk.h
Note: See TracBrowser for help on using the repository browser.