Add skeleton for encrypt program.
This commit is contained in:
parent
5fe3edb6d2
commit
f53b189d6c
2 changed files with 20 additions and 2 deletions
8
Makefile
8
Makefile
|
@ -1,10 +1,14 @@
|
|||
all: Decrypt
|
||||
all: Decrypt Encrypt
|
||||
|
||||
Decrypt: Decrypt.o Buffer.o
|
||||
clang -o $@ Decrypt.o Buffer.o
|
||||
clang -o $@ $^
|
||||
|
||||
Encrypt: Encrypt.o Buffer.o
|
||||
clang -o $@ $^
|
||||
|
||||
Decrypt.o: Decrypt.c Buffer.h Common.h
|
||||
Buffer.o: Buffer.c Buffer.h
|
||||
Encrypt.o: Encrypt.c Buffer.h Common.h
|
||||
|
||||
.c.o:
|
||||
clang -c -o $@ $<
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue