Commit 9d920694 authored by powelld's avatar powelld

adding demonstrator v0.1

parent 9fea5457
CFLAGS=-g -I../../include
LIBS=-lssl -lcrypto -lpthread -ldl
LDFLAGS=-L../..
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 $@ $<
clean:
rm -f *.o $(TARGETS)
\ No newline at end of file
Markdown is supported
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