File: makefile

package info (click to toggle)
crashme 2.4-5
  • links: PTS
  • area: main
  • in suites: sarge, woody
  • size: 116 kB
  • ctags: 78
  • sloc: ansic: 868; makefile: 60; sh: 5
file content (36 lines) | stat: -rw-r--r-- 732 bytes parent folder | download | duplicates (4)
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
28
29
30
31
32
33
34
35
36
all: crashme pddet

crashme:	crashme.o
	cc -o crashme crashme.o
crashme.o: crashme.c
	cc -c crashme.c

pddet:	pddet.o
	cc -o pddet pddet.o
pddet.o: pddet.c
	cc -c pddet.c

clean:
	-rm crashme pddet *.o core crashme.txt crashme.zip \
            crashme.tgz

# create for dist for people without nroff

crashme.txt: crashme.1
	nroff -man crashme.1 | col -bx > crashme.txt


DIST_FILES = crashme.1 crashme.c crashme.html \
             crashme.opt descrip.mms make.bat makefile \
             makefile.wnt pddet.c crashme.txt

crashme.zip: $(DIST_FILES)
	zip -k -l -u crashme.zip $(DIST_FILES)

crashme.tgz: $(DIST_FILES)
	tar cvf - $(DIST_FILES) | gzip -v > crashme.tgz

check:
	nsgmls -s crashme.html

dist: crashme.zip crashme.tgz