9 # Ar settings to build the library
13 # Set RANLIB to ranlib on systems that require it (Sun OS < 4, Mac OSX)
22 SUFFIXES
= .o .c .h .a .so .sl
24 COMPILE.c
=$(CC
) $(CFLAGS
) -c
26 @
(echo
"compiling $< ...")
27 @
($(COMPILE.c
) -o
$@
$<)
30 SRCS
= src
/iniparser.c \
37 default
: libiniparser.a
39 libiniparser.a
: $(OBJS
)
40 @
($(AR
) $(ARFLAGS
) libiniparser.a
$(OBJS
))
41 @
($(RANLIB
) libiniparser.a
)
47 $(RM
) $(OBJS
) libiniparser.a
48 rm -rf .
/html
; mkdir html
49 cd
test ; $(MAKE
) veryclean