2018-03-22 19:30:02 -05:00
|
|
|
CFLAGS = -O $(CF)
|
|
|
|
CRCC = arc.c ccitt.c kermit.c binhex.c ccitt32.c zip.c
|
|
|
|
CRCO = arc.o ccitt.o kermit.o binhex.o ccitt32.o zip.o
|
|
|
|
|
|
|
|
libcrc.a: $(CRCO)
|
|
|
|
ar r libcrc.a $(CRCO)
|
|
|
|
if test -f /usr/bin/ranlib ;\
|
|
|
|
then \
|
|
|
|
ranlib libcrc.a ;\
|
|
|
|
fi
|
|
|
|
|
|
|
|
clean:
|
2018-03-22 21:07:53 -05:00
|
|
|
rm -f $(CRCC) $(CRCO) libcrc.a makecrc makecrc.o
|
2018-03-22 19:30:02 -05:00
|
|
|
|
|
|
|
$(CRCC): makecrc
|
|
|
|
./makecrc
|
|
|
|
|
|
|
|
makecrc: makecrc.o
|
2022-09-29 20:02:38 +02:00
|
|
|
cc $(CFLAGS) -O -o makecrc makecrc.o
|
2018-03-22 19:30:02 -05:00
|
|
|
|
|
|
|
arc.o: arc.c
|
|
|
|
ccitt.o: ccitt.c
|
|
|
|
kermit.o: kermit.c
|
|
|
|
binhex.o: binhex.c
|
|
|
|
ccitt32.o: ccitt32.c
|
|
|
|
zip.o: zip.c
|
|
|
|
|