Archived
3
0

pubsubd: reorganize

This commit is contained in:
Philippe PITTOLI 2016-09-19 17:44:06 +02:00
parent e53e37b915
commit 6f72bce61c
16 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@ CFLAGS=-Wall -g -Wextra
LDFLAGS= -pthread LDFLAGS= -pthread
CFILES=$(wildcard *.c) # CFILES => recompiles everything on a C file change CFILES=$(wildcard *.c) # CFILES => recompiles everything on a C file change
EXEC=$(basename $(wildcard *.c)) EXEC=$(basename $(wildcard *.c))
SOURCES=$(wildcard ../lib/*.c) SOURCES=$(wildcard ../lib/*.c ../../lib/*.c)
OBJECTS=$(SOURCES:.c=.o) OBJECTS=$(SOURCES:.c=.o)
TESTS=$(addsuffix .test, $(EXEC)) TESTS=$(addsuffix .test, $(EXEC))

View File

@ -1,7 +1,7 @@
#ifndef __PUBSUBD_H__ #ifndef __PUBSUBD_H__
#define __PUBSUBD_H__ #define __PUBSUBD_H__
#include "pubsub.h" #include "../../lib/pubsub.h"
#include <pthread.h> #include <pthread.h>
struct channel; struct channel;