Commit 9ba69184 authored by powelld's avatar powelld

Added missing makefile

parent 8ae53818
CC=gcc
## with debug
CFLAG=-g -Wall -DDEBUG=1 -DVERBOSE=1
## With even more debug...
#CFLAG=-g -Wall -DDEBUG=1
#LD= -L/usr/local/ssl/lib -lssl -lcrypto -ldl -lpthread
LD= -L../.. -lssl -lcrypto -ldl -lpthread
#INCLUDES= -I/usr/local/ssl/include
INCLUDES= -I../../include
CFLAGS= $(INCLUDES) $(CFLAG)
#CFLAGS= -DMONOLITH $(INCLUDES) $(CFLAG)
# (what is DMONOLITH doing?)
all: wclient wserver mbox
wclient: wclient.o common.o
$(CC) $(CFLAGS) wclient.o common.o -o wclient $(LD)
wserver: wserver.o common.o
$(CC) $(CFLAGS) wserver.o common.o -o wserver $(LD)
mbox: middlebox.o common.o
$(CC) $(CFLAGS) middlebox.o common.o -o mbox $(LD)
clean:
rm *.o wclient wserver mbox
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