moving src/common to src/
This commit is contained in:
parent
22d7238b36
commit
cfb5e85699
20 changed files with 49 additions and 50 deletions
|
|
@ -10,35 +10,35 @@ raw_inotify :
|
|||
|
||||
strbuf :
|
||||
$(CC) $(CFLAGS) \
|
||||
../src/common/strbuf.c \
|
||||
../src/common/xalloc.c \
|
||||
../src/common/die.c \
|
||||
../src/strbuf.c \
|
||||
../src/xalloc.c \
|
||||
../src/die.c \
|
||||
t_strbuf.c -o test_strbuf
|
||||
|
||||
path :
|
||||
$(CC) $(CFLAGS) \
|
||||
unit.c \
|
||||
../src/common/xalloc.c \
|
||||
../src/common/die.c \
|
||||
../src/common/strbuf.c \
|
||||
../src/common/path.c \
|
||||
../src/xalloc.c \
|
||||
../src/die.c \
|
||||
../src/strbuf.c \
|
||||
../src/path.c \
|
||||
t_path.c -o test_path
|
||||
|
||||
rbtree :
|
||||
$(CC) $(CFLAGS) \
|
||||
unit.c \
|
||||
../src/common/die.c \
|
||||
../src/common/xalloc.c \
|
||||
../src/common/rbtree.c \
|
||||
../src/die.c \
|
||||
../src/xalloc.c \
|
||||
../src/rbtree.c \
|
||||
t_rbtree.c -o test_rbtree
|
||||
|
||||
inotify :
|
||||
$(CC) -lpthread -D INOTIFY_DEBUG -D RB_DEBUG $(CFLAGS) \
|
||||
../src/common/rbtree.c \
|
||||
../src/common/xalloc.c \
|
||||
../src/common/die.c \
|
||||
../src/common/strbuf.c \
|
||||
../src/common/path.c \
|
||||
../src/rbtree.c \
|
||||
../src/xalloc.c \
|
||||
../src/die.c \
|
||||
../src/strbuf.c \
|
||||
../src/path.c \
|
||||
../src/event.c \
|
||||
../src/fscrawl.c \
|
||||
../src/queue.c \
|
||||
|
|
@ -47,11 +47,11 @@ inotify :
|
|||
|
||||
fscrawl :
|
||||
$(CC) $(CFLAGS) \
|
||||
../src/common/path.c \
|
||||
../src/path.c \
|
||||
../src/fscrawl.c \
|
||||
../src/common/xalloc.c \
|
||||
../src/common/die.c \
|
||||
../src/common/strbuf.c \
|
||||
../src/xalloc.c \
|
||||
../src/die.c \
|
||||
../src/strbuf.c \
|
||||
t_fscrawl.c -o test_fscrawl
|
||||
|
||||
queue :
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include "unit.h"
|
||||
#include "../src/common/path.h"
|
||||
#include "../src/path.h"
|
||||
|
||||
void test_normalize() {
|
||||
|
||||
|
|
|
|||
|
|
@ -8,8 +8,8 @@
|
|||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include "unit.h"
|
||||
#include "../src/common/rbtree.h"
|
||||
#include "../src/common/debug.h"
|
||||
#include "../src/rbtree.h"
|
||||
#include "../src/debug.h"
|
||||
|
||||
#define MAX_VAL 500
|
||||
#define NODES 20
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <malloc.h>
|
||||
#include "../src/common/strbuf.h"
|
||||
#include "../src/strbuf.h"
|
||||
|
||||
typedef unsigned int uint;
|
||||
|
||||
|
|
|
|||
Reference in a new issue