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

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

Minix 3.1.2a

File size: 453 bytes
Line 
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.