File: makefile

package info (click to toggle)
macutils 2.0b3-13
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 788 kB
  • ctags: 1,436
  • sloc: ansic: 12,655; makefile: 656
file content (27 lines) | stat: -rwxr-xr-x 475 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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:
	-rm -f $(CRCC) $(CRCO) libcrc.a makecrc makecrc.o

$(CRCC):	makecrc
	./makecrc

makecrc:	makecrc.o
	cc -O -o makecrc makecrc.o

arc.o:	arc.c
ccitt.o:	ccitt.c
kermit.o:	kermit.c
binhex.o:	binhex.c
ccitt32.o:	ccitt32.c
zip.o:		zip.c