build.mk 338 Bytes
Newer Older
Jeroen Vreeken's avatar
Jeroen Vreeken committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

BLOCK_TARGETS := $(LIBDIR)/libam335x.la

BLOCK_SRCS := \
	$(DIR)/block_am335x_adc.c

BLOCK_OBJS := $(BLOCK_SRCS:.c=.lo)


$(BLOCK_OBJS): CFLAGS += -O3 -g -Wall
$(LIBDIR)/libam335x.la_LDFLAGS += 
$(LIBDIR)/libam335x.la: $(BLOCK_OBJS)
	$(LIB_LINK)

TARGETS += $(BLOCK_TARGETS)
CLEAN += $(BLOCK_TARGETS) $(BLOCK_OBJS)
SRCS += $(BLOCK_SRCS)