2005-04-21 16:53:53 +02:00
|
|
|
# Makefile for commands/autil
|
|
|
|
|
2005-09-07 10:43:25 +02:00
|
|
|
CC = exec cc
|
2005-06-23 11:50:54 +02:00
|
|
|
CFLAGS = -I. -D_MINIX -D_POSIX_SOURCE -wo
|
2005-04-21 16:53:53 +02:00
|
|
|
CCLD = $(CC) -i $(CFLAGS)
|
|
|
|
|
|
|
|
all: anm asize
|
|
|
|
|
2005-06-23 11:50:54 +02:00
|
|
|
anm: anm.c rd.c rd_arhdr.c rd_bytes.c rd_unsig2.c
|
2005-04-21 16:53:53 +02:00
|
|
|
$(CCLD) -o $@ $?
|
|
|
|
install -S 32kw $@
|
|
|
|
|
|
|
|
asize: asize.c
|
|
|
|
$(CCLD) -o $@ $?
|
|
|
|
install -S 4kw $@
|
|
|
|
|
|
|
|
install: /usr/bin/anm /usr/bin/asize
|
|
|
|
|
|
|
|
/usr/bin/anm: anm
|
|
|
|
install -cs -o bin $? $@
|
|
|
|
|
|
|
|
/usr/bin/asize: asize
|
|
|
|
install -cs -o bin $? $@
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f anm asize core
|