|
Revision 31ce2cb0f34aebfcdd50b5602a150e4ea0c03dd3, 244 bytes
(checked in by D.J. Capelis <dev@…>, 2 years ago)
|
|
Work done on the epoll() -> kqueue() compatibility layer. Parts of it
are working, but democlient still experiences failures.
|
-
Property mode set to
100644
|
| Line | |
|---|
| 1 | CC=gcc |
|---|
| 2 | CFLAGS=-g -O0 -Wall -Wextra -I../ |
|---|
| 3 | LDFLAGS=-lssl |
|---|
| 4 | SRCS=main.c ../compat/epoll.c |
|---|
| 5 | OBJS=main.o ../compat/epoll.o |
|---|
| 6 | |
|---|
| 7 | all: demo |
|---|
| 8 | |
|---|
| 9 | $(SRCS): |
|---|
| 10 | $(CC) $(CFLAGS) -c $*.c |
|---|
| 11 | |
|---|
| 12 | demo: $(OBJS) |
|---|
| 13 | $(CC) $(LDFLAGS) -o $@ $(OBJS) |
|---|
| 14 | |
|---|
| 15 | install: |
|---|
| 16 | |
|---|
| 17 | clean: |
|---|
| 18 | rm -f *.o demo |
|---|