source: trunk/minix/commands/aal/Makefile@ 15

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

Minix 3.1.2a

File size: 747 bytes
Line 
1# Makefile for aal
2
3CC=exec cc
4CFLAGS=-I. -wo -DAAL -DSTB -DNDEBUG -DDISTRIBUTION -D_POSIX_SOURCE -D_MINIX
5LDFLAGS=-i
6
7all: aal
8
9OFILES= archiver.o \
10 print.o \
11 rd.o \
12 rd_arhdr.o \
13 rd_unsig2.o \
14 sprint.o \
15 wr_arhdr.o \
16 wr_bytes.o \
17 wr_int2.o \
18 wr_long.o \
19 wr_ranlib.o \
20 format.o \
21 rd_bytes.o \
22 system.o \
23 write.o \
24 long2str.o
25
26aal: $(OFILES)
27 $(CC) $(LDFLAGS) -o aal $(OFILES)
28 install -S 512k $@
29
30install: /usr/bin/aal /usr/bin/ar
31
32/usr/bin/aal: aal
33 install -cs -o bin aal $@
34
35/usr/bin/ar: /usr/bin/aal
36 install -l $? $@
37
38archiver.o:
39print.o:
40rd.o:
41rd_arhdr.o:
42rd_unsig2.o:
43sprint.o:
44wr_arhdr.o:
45wr_bytes.o:
46wr_int2.o:
47wr_long.o:
48wr_ranlib.o:
49format.o:
50rd_bytes.o:
51system.o:
52write.o:
53long2str.o:
54
55clean:
56 rm -f *.o core *.bak aal
Note: See TracBrowser for help on using the repository browser.