quasselc: add new package

quasselc is a library providing an API to access a Quassel core
in pure C. Quassel is a distributed IRC client where the core
can run independently of the interface(s). This library provides
a C API for programs that wish to implement the Quassel protocol.

Signed-off-by: Ben Rosser <rosser.bjr@gmail.com>
This commit is contained in:
Ben Rosser
2016-10-31 22:19:25 -04:00
committed by Yousong Zhou
parent abebd4e756
commit d8211a9659
2 changed files with 82 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
diff --git a/Makefile b/Makefile
index 7994eea..b1f8d83 100644
--- a/Makefile
+++ b/Makefile
@@ -2,11 +2,11 @@ prefix ?= /usr/local
libdir ?= $(prefix)/lib
includedir ?= $(prefix)/include
-CFLAGS:=-Wall -g -Wextra $(shell pkg-config glib-2.0 --cflags) -Wswitch-enum -std=gnu11 -O2 -fPIC
+CFLAGS+=-Wall -g -Wextra $(shell pkg-config glib-2.0 --cflags) -Wswitch-enum -std=gnu11 -fPIC
SO_VERSION = 0
VERSION = 0
INSTALL = install
-LDLIBS:=$(shell pkg-config glib-2.0 --libs) -lz
+LDLIBS+=$(shell pkg-config glib-2.0 --libs) -lz
BOTLIBS := -Wl,-rpath,.