Commit 9d920694 authored by powelld's avatar powelld
Browse files

adding demonstrator v0.1

parent 9fea5457
CFLAGS=-g -I../../include
LIBS=-lssl -lcrypto -lpthread -ldl
TARGETS=client server middlebox
all: $(TARGETS)
client: client.o common.o
$(CC) $(LDFLAGS) -o $@ $^ $(LIBS)
server: server.o common.o
$(CC) $(LDFLAGS) -o $@ $^ $(LIBS)
middlebox: middlebox.o common.o
$(CC) $(LDFLAGS) -o $@ $^ $(LIBS)
%.o: %.c
$(CC) $(CFLAGS) -c -o $@ $<
rm -f *.o $(TARGETS)
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment