minix/commands/zmodem/Makefile

26 lines
415 B
Makefile
Raw Normal View History

2005-04-21 16:53:53 +02:00
# Makefile for zmodem
all: rz sz
2005-09-07 10:43:25 +02:00
CC = exec cc
2005-04-21 16:53:53 +02:00
CFLAGS= -DPOSIX -D_MINIX -D_POSIX_SOURCE -O -wo
rz: rz.c rbsb.c zm.c zmodem.h
2005-09-07 10:43:25 +02:00
$(CC) $(CFLAGS) -i -o rz rz.c
2005-04-21 16:53:53 +02:00
install -S 5kw $@
sz: sz.c rbsb.c zm.c zmodem.h
2005-09-07 10:43:25 +02:00
$(CC) $(CFLAGS) -i -o sz sz.c
2005-04-21 16:53:53 +02:00
install -S 5kw $@
install: /usr/bin/rz /usr/bin/sz
/usr/bin/rz: rz
install -cs -o bin rz $@
/usr/bin/sz: sz
install -cs -o bin sz $@
clean:
rm -f *.bak *.o core rz sz