# # Makefile - Makefile to build pic16 char support library # # This file is part of the GNU PIC Library. # # January, 2004 # The GNU PIC Library is maintained by, # Vangelis Rokas # # $Id$ # # LIB = sdccchar.lib SRCS = divschar \ divuchar \ modschar \ moduchar #SRCS = # modschar \ # moduchar #AS_SRCS = divchar \ # modchar include ../Makefile.rules all: build-library build-library: $(LIB) $(LIB): $(OFILES) @echo Creating $(LIB) ... @for object in $(OFILES) ; do \ if [ ! -e $(LIB) ]; then \ $(AR) -c $(LIB) $$object ; \ else \ $(AR) -r $(LIB) $$object ; \ fi; \ echo -n "$$object " ; \ done ; @echo