Split to multiple files and add Makefile.

This commit is contained in:
Sven Weidauer 2015-11-09 19:40:55 +01:00
parent 559b00c889
commit 5fe3edb6d2
6 changed files with 113 additions and 75 deletions

11
Makefile Normal file
View file

@ -0,0 +1,11 @@
all: Decrypt
Decrypt: Decrypt.o Buffer.o
clang -o $@ Decrypt.o Buffer.o
Decrypt.o: Decrypt.c Buffer.h Common.h
Buffer.o: Buffer.c Buffer.h
.c.o:
clang -c -o $@ $<