File: Makefile

package info (click to toggle)
pdfcrack 0.8-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 196 kB
  • ctags: 166
  • sloc: ansic: 2,239; makefile: 62
file content (20 lines) | stat: -rw-r--r-- 481 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
CFLAGS= -Wall -Wshadow -Wwrite-strings -Wsign-compare -Wfloat-equal \
	-Wconversion -Wmissing-noreturn -Wbad-function-cast \
	-Wmissing-prototypes -Winline -Wredundant-decls -O3

all: pdfcrack

pdfcrack: main.o rc4.o md5.o pdfcrack.o pdfparser.o passwords.o common.o \
	benchmark.o
	gcc $(CFLAGS) -o $@ $+
	strip $@

pdfreader: pdfparser.o pdfreader.o common.o
	gcc $(CFLAGS) -o $@ $+
	strip $@

clean:
	rm -f pdfcrack pdfreader testreader *.o

%.o: %.c
	gcc $(CFLAGS) -c -o $@ $+