Merge pull request #5 from UnlawfulMonad/makefile

Make it you idiot
master
silverwizard 6 years ago committed by GitHub
commit 0fde990456
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      Makefile
  2. 0
      Project Goals
  3. 12
      README.md
  4. 0
      dpu.c
  5. 0
      undpu.c

@ -0,0 +1,4 @@
all: dpu undpu
install: dpu undpu
cp dpu undpu /usr/local/bin/

@ -3,20 +3,16 @@ doubleplusunzip
The Worlds First File Inflater
Installation is simple, I don't feel the need for a makefile, but if you've no idea how to compile, just run:
cc -o dpu ./dpu.c
cc -o undpu ./undpu.c
To build:
`make`
OR if you want to *install* it you can run:
cc -o /usr/local/bin/dpu ./dpu.c
cc -o /usr/local/bin/undpu ./undpu.c
`make install`
My further work will to be to properly use getopt (like not a chump), and also to create a proper useage()
Right now, just use:
dpu [decompression size] filename
`dpu [decompression size] filename`
The decompression size is an optional argument, and when used it will multiply the filesize by that. The default amount is 10 (making a file 10 times bigger).

Loading…
Cancel
Save