root/Makefile

Revision 5e6da2ccd1abe8aa88783abe6a4ae160e72d1de7, 480 bytes (checked in by D.J. Capelis <dev@…>, 2 years ago)

Using new epoll compatibility framework for systems without epoll

  • Property mode set to 100644
Line 
1CC=gcc
2CFLAGS=-g -O0 -Wall -Wextra -I.
3LDFLAGS=-lpthread -lssl
4SRCS=config.c handler.c helpers.c init.c main.c services/auth.c services/host.c services/multiplex.c services/ssl.c compat/epoll.c
5OBJS=config.o handler.o helpers.o init.o main.o services/auth.o services/host.o services/multiplex.o services/ssl.o compat/epoll.o
6
7all: fived
8
9$(SRCS):
10        $(CC) $(CFLAGS) -c $*.c
11
12fived: $(OBJS)
13        $(CC) $(LDFLAGS) -o $@ $(OBJS)
14
15install:
16
17clean:
18        rm -f *.o services/*.o compat/*.o fived
Note: See TracBrowser for help on using the browser.