openbsd-ports/security/pdfcrack/patches/patch-Makefile
benoit 3d85aa9062 import pdfcrack;
PDFCrack is tool for recovering passwords and content from PDF-files.
It is small, command line driven without external dependencies.

with some tweaks by and ok sthen@, ajacoutot@
2009-12-17 14:00:04 +00:00

23 lines
568 B
Plaintext

$OpenBSD: patch-Makefile,v 1.1.1.1 2009/12/17 14:00:04 benoit Exp $
--- Makefile.orig Wed Apr 30 22:14:58 2008
+++ Makefile Thu Dec 17 11:24:00 2009
@@ -6,15 +6,13 @@ all: pdfcrack
pdfcrack: main.o rc4.o md5.o pdfcrack.o pdfparser.o passwords.o common.o \
benchmark.o
- gcc $(CFLAGS) -o $@ $+
- strip $@
+ $(CC) $(CFLAGS) -o $@ $>
pdfreader: pdfparser.o pdfreader.o common.o
- gcc $(CFLAGS) -o $@ $+
- strip $@
+ $(CC) $(CFLAGS) -o $@ $>
clean:
rm -f pdfcrack pdfreader testreader *.o
%.o: %.c
- gcc $(CFLAGS) -c -o $@ $+
+ $(CC) $(CFLAGS) -c -o $@ $+