OS1/pads/makefile

28 lines
560 B
Makefile

CC=gcc --std=gnu99 -g
all: keygen enc_client enc_server dec_client dec_server
echo Everything Made
keygen: keygen.c
$(CC) keygen.c -o keygen
enc_client: enc_client.c
$(CC) enc_client.c -o enc_client
enc_server: enc_server.c
$(CC) enc_server.c -o enc_server
dec_client: dec_client.c
$(CC) dec_client.c -o dec_client
dec_server: dec_server.c
$(CC) dec_server.c -o dec_server
ec: all
./enc_client plaintext1 key1 11111
dc: all
./dec_client cyphertext1 key1 22222
clean: all
rm -fr *.o vgcore.* keygen enc_client enc_server dec_client dec_server