(C) Relatively high density file backups on paper. Cross-platform CLI port of Ollydbg's Paperback from Windows and Borland C.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Makefile 862B

123456789101112131415161718
  1. EX=paperback-cli
  2. SDIR=src
  3. PDIR=lib/PortLibC
  4. BZDIR=lib/bzip2
  5. AESDIR=lib/minizip/aes
  6. CC=gcc
  7. LDFLAGS=#-lcrypto -lssl
  8. CFLAGS=-Iinclude -Ilib/PortLibC/include -Ilib/cxxopts/include -I$(PDIR)/include -I$(BZDIR) -I$(AESDIR) #-std=c++11 -DUSE_SHA1
  9. all: main
  10. main: $(SDIR)/main.c $(SDIR)/paperbak.c $(SDIR)/Printer.c $(SDIR)/Scanner.c $(SDIR)/Fileproc.c $(SDIR)/Decoder.c $(SDIR)/Fileproc.c $(SDIR)/Crc16.c $(SDIR)/Ecc.c $(PDIR)/src/FileAttributes.c $(PDIR)/src/Borland.c $(BZDIR)/bzlib.c $(BZDIR)/blocksort.c $(BZDIR)/compress.c $(BZDIR)/crctable.c $(BZDIR)/decompress.c $(BZDIR)/huffman.c $(BZDIR)/randtable.c $(AESDIR)/pwd2key.c $(AESDIR)/hmac.c $(AESDIR)/sha1.c $(AESDIR)/aescrypt.c $(AESDIR)/aeskey.c $(AESDIR)/aes_ni.c $(AESDIR)/aestab.c $(AESDIR)/fileenc.c $(AESDIR)/prng.c lib/aes_modes.c
  11. $(CC) $^ $(LDFLAGS) $(CFLAGS) -o $(EX)
  12. clean:
  13. rm $(EX) *.o *.log