summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMartin Nagy <mnagy@redhat.com>2008-12-15 21:46:27 +0100
committerMartin Nagy <mnagy@redhat.com>2008-12-15 21:46:27 +0100
commit6d2e95e27e6a1d108077296b3fa84e3c7321d8d5 (patch)
treec9708e59b9e0e431fbd89dd6c66d9861bbb2b6bf /Makefile
parent69409a1ce90a17e8aaf0d6cd1585cbb0926b4c47 (diff)
downloadldap_driver-6d2e95e27e6a1d108077296b3fa84e3c7321d8d5.tar.gz
ldap_driver-6d2e95e27e6a1d108077296b3fa84e3c7321d8d5.tar.xz
ldap_driver-6d2e95e27e6a1d108077296b3fa84e3c7321d8d5.zip
Add a string library.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 22cea06..f2d24ea 100644
--- a/Makefile
+++ b/Makefile
@@ -5,7 +5,7 @@ LIBMINOR = 0
LIBNAME = libdnsldap.so.$(LIBMAJOR).$(LIBMINOR).0
LIBSONAME = libdnsldap.so.$(LIBMAJOR)
-LIBSOURCES = ldap_driver.c semaphore.o log.o
+LIBSOURCES = ldap_driver.c semaphore.o log.o str.o
ALL_CFLAGS = -Wall -Wextra -pedantic -std=c99 -g -fPIC $(CFLAGS)
@@ -23,3 +23,6 @@ semaphore.o: semaphore.c
log.o: log.c
$(CC) $(ALL_CFLAGS) -c $+ -o $@
+
+str.o: str.c
+ $(CC) $(ALL_CFLAGS) -c $+ -o $@