pubsubd: reorganize
This commit is contained in:
parent
e53e37b915
commit
6f72bce61c
@ -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))
|
||||||
|
|
@ -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;
|
Reference in New Issue
Block a user