~skiqqy/ctagd

4e2d320363d5e468c096c4f73521d5aa8d925de2 — Stephen Cochrane 2 years ago 4aad508
Refactor of repo structure
5 files changed, 6 insertions(+), 6 deletions(-)

M Makefile
R src/client.c => examples/client.c
R src/server.c => examples/server.c
R src/ctagd.h => include/ctagd.h
M src/ctagd.c
M Makefile => Makefile +3 -3
@@ 4,7 4,7 @@ VERSION=0.1
NAME=ctagd
COMP=$(CC) $(FLAGS)

all: build server client
all: build

clean:
	rm -rf bin


@@ 26,7 26,7 @@ test: build server client
	./test.sh

server: ctagd.o
	$(COMP) -o bin/$@ src/server.c bin/ctagd.o
	$(COMP) -o bin/$@ examples/server.c bin/ctagd.o

client: ctagd.o
	$(COMP) -o bin/$@ src/client.c bin/ctagd.o
	$(COMP) -o bin/$@ examples/client.c bin/ctagd.o

R src/client.c => examples/client.c +1 -1
@@ 1,7 1,7 @@
#include <stdlib.h>
#include <stdio.h>

#include "ctagd.h"
#include "../include/ctagd.h"

int
main(int argc, char *argv[])

R src/server.c => examples/server.c +1 -1
@@ 2,7 2,7 @@
#include <stdio.h>
#include <string.h>

#include "ctagd.h"
#include "../include/ctagd.h"

int
main(int argc, char *argv[])

R src/ctagd.h => include/ctagd.h +0 -0
M src/ctagd.c => src/ctagd.c +1 -1
@@ 3,7 3,7 @@
#include <string.h>
#include <pthread.h>

#include "ctagd.h"
#include "../include/ctagd.h"

#define QUEUE_SIZE 256
#define DEFUALT_PORT 8200