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
31 CFILES = $(patsubst %,%.c,$(SRCS))
32 OFILES = $(patsubst %.c,%.o,$(CFILES))
36 #COMPILE_FLAGS += --pomit-config-words --pomit-ivt --no-peep
37 COMPILE_FLAGS += $(DEBUG)
39 CFILES = $(patsubst %,%.c,$(SRCS))
40 OFILES = $(patsubst %.c,%.o,$(CFILES))
43 $(CC) $(CFLAGS) $(COMPILE_FLAGS) -c $<
45 build-library: $(OFILES)