aboutsummaryrefslogtreecommitdiff
path: root/libpore/Makefile.inc
blob: 02b5837cef7d5bf5093f2045cb652c07a106eb14 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
ifeq ($(PORE),1)
LIBPORE_SRCS = p8_pore_table_gen_api_fixed.C
LIBPORE_SRCS += p8_pore_table_static_data.c sbe_xip_image.c pore_inline_assembler.c
LIBPORE_OBJS_1 = $(LIBPORE_SRCS:%.c=%.o)
LIBPORE_OBJS = $(LIBPORE_OBJS_1:%.C=%.o)
endif
SUBDIRS += libpore
LIBPORE = libpore/built-in.o

CFLAGS_SKIP_libpore/pore_inline_assembler.o=-Wsuggest-attribute=const

$(LIBPORE): $(LIBPORE_OBJS:%=libpore/%)