3 CFLAGS= -g $(OPTIMISE) \
4 -Wall -Wwrite-strings -Wpointer-arith -Wimplicit \
5 -Wnested-externs -Wmissing-prototypes -Wstrict-prototypes
7 TARGETS= authbind helper libauthbind.so.0.1
11 libauthbind.o: libauthbind.c
12 gcc -D_REENTRANT -g $(CFLAGS) -c -o libauthbind.o -fPIC libauthbind.c
14 libauthbind.so.0.1: libauthbind.o
15 gcc -g -shared -Wl,-soname,libauthbind.so.0.1 -o libauthbind.so.0.1 libauthbind.o -ldl -lc
18 rm -f $(TARGETS) *.o *~ ./#*# *.bak debian/*~
19 rm -f core libauthbind.so*