2 # Makefile - Makefile to build pic16 C Library
4 # This file is part of the GNU PIC Library.
7 # The GNU PIC Library is maintained by,
8 # Vangelis Rokas <vrokas@otenet.gr>
14 include ../Makefile.rules
45 CFILES = $(patsubst %,%.c,$(SRCS))
46 OFILES = $(patsubst %.c,%.o,$(CFILES))
50 #COMPILE_FLAGS += --pomit-config-words --pomit-ivt --denable-peeps --optimize-goto --obanksel=2
51 COMPILE_FLAGS += $(DEBUG)
53 CFILES = $(patsubst %,%.c,$(SRCS))
54 OFILES = $(patsubst %.c,%.o,$(CFILES))
57 $(CC) $(CFLAGS) $(COMPILE_FLAGS) -c $<
59 build-library: $(OFILES)