25 lines
376 B
Makefile
Executable file
25 lines
376 B
Makefile
Executable file
# Makefile for commands/autil
|
|
|
|
CFLAGS = -D_MINIX -D_POSIX_SOURCE -wo
|
|
CCLD = $(CC) -i $(CFLAGS)
|
|
|
|
all: anm asize
|
|
|
|
anm: anm.c
|
|
$(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
|