Line | |
---|
1 | # Makefile for commands/autil
|
---|
2 |
|
---|
3 | CC = exec cc
|
---|
4 | CFLAGS = -I. -D_MINIX -D_POSIX_SOURCE -wo
|
---|
5 | CCLD = $(CC) -i $(CFLAGS)
|
---|
6 |
|
---|
7 | all: anm asize
|
---|
8 |
|
---|
9 | anm: anm.c rd.c rd_arhdr.c rd_bytes.c rd_unsig2.c
|
---|
10 | $(CCLD) -o $@ $?
|
---|
11 | install -S 32kw $@
|
---|
12 |
|
---|
13 | asize: asize.c
|
---|
14 | $(CCLD) -o $@ $?
|
---|
15 | install -S 4kw $@
|
---|
16 |
|
---|
17 | install: /usr/bin/anm /usr/bin/asize
|
---|
18 |
|
---|
19 | /usr/bin/anm: anm
|
---|
20 | install -cs -o bin $? $@
|
---|
21 |
|
---|
22 | /usr/bin/asize: asize
|
---|
23 | install -cs -o bin $? $@
|
---|
24 |
|
---|
25 | clean:
|
---|
26 | rm -f anm asize core
|
---|
Note:
See
TracBrowser
for help on using the repository browser.