4 CFLAGS= -g $(OPTIMISE) \
5 -Wall -Wwrite-strings -Wpointer-arith -Wimplicit \
6 -Wnested-externs -Wmissing-prototypes -Wstrict-prototypes
11 LIBCANON= libjwrap.so.$(MAJOR)
12 LIBTARGET= $(LIBCANON).$(MINOR)
19 $(LIBTARGET): libjwrap.o
20 ld -shared -soname $(LIBCANON) -o $@ $< $(LIBS)
22 libjwrap.o: libjwrap.c
23 $(CC) -D_REENTRANT $(CFLAGS) $(CPPFLAGS) -c -o $@ -fPIC $<
26 rm -f *.o $(TARGETS) *~