~skiqqy/baal

79a1f87f78d87d8b5222b7aed257a08139451ba4 — Stephen Cochrane 3 years ago 3e9314f
Rename baaljlib to libbaal
4 files changed, 4 insertions(+), 4 deletions(-)

M Makefile
M include/baal.h
R include/{baaljlib.h => libbaal.h}
R src/{baaljlib.c => libbaal.c}
M Makefile => Makefile +2 -2
@@ 40,10 40,10 @@ init:
			popd; \
		 fi

baal: init baaljlib.o baalserver.o baalclient.o
baal: init libbaal.o baalserver.o baalclient.o
	$(CC) $(FLAGS) -o bin/$(BINARY) src/baal.c bin/*.o bin/*.so $(LDLIBS)

baaljlib.o: src/baaljlib.c
libbaal.o: src/libbaal.c
	$(CC) $(FLAGS) -c $< -o bin/$@ $(LDLIBS) 

baalserver.o: src/baalserver.c

M include/baal.h => include/baal.h +1 -1
@@ 2,7 2,7 @@
// @License: GPL3

#include <string.h>
#include "baaljlib.h" // Helper lib for sending/handling json
#include "libbaal.h" // Helper lib for sending/handling json

// Represents data used by the server, configs, sockets etc
typedef struct Servers {

R include/baaljlib.h => include/libbaal.h +0 -0
R src/baaljlib.c => src/libbaal.c +1 -1
@@ 4,7 4,7 @@
#include "openssl/sha.h"

// Header file for this lib
#include "../include/baaljlib.h"
#include "../include/libbaal.h"

// Only print on debug level 2
#ifdef DEBUG2