Makefile 279 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
CPPFLAGS=-I../../../include -I../../../servers/slapd
#LDFLAGS=-L/usr/local/openldap/lib
#LDFLAGS=-L/home/mszulczynski/autogroup/openldap/lib/
CC=gcc

all: autogroup.so

autogroup.so: autogroup.c
	$(CC) -shared -fPIC $(CPPFLAGS) $(LDFLAGS) -Wall -o $@ $?

clean:
	rm autogroup.so