build.mk 531 Bytes
Newer Older
Jeroen Vreeken's avatar
Jeroen Vreeken committed
1
2
3
4
5

DT_AZIMUTH_TARGETS += $(LIBDIR)/libdt_azimuth.la


DT_AZIMUTH_SRCS = \
Jeroen Vreeken's avatar
Jeroen Vreeken committed
6
	$(DIR)/dt_az_safety.c
Jeroen Vreeken's avatar
Jeroen Vreeken committed
7
8
9
10

DT_AZIMUTH_OBJS := $(DT_AZIMUTH_SRCS:.c=.lo)


11
$(DT_AZIMUTH_OBJS): CFLAGS += -O3 -Wall
Jeroen Vreeken's avatar
Jeroen Vreeken committed
12
$(LIBDIR)/libdt_azimuth.la: libcontroller.la liblog.la
13
$(LIBDIR)/libdt_azimuth.la_LDFLAGS += -lcontroller -llog
Jeroen Vreeken's avatar
Jeroen Vreeken committed
14
15
16
$(LIBDIR)/libdt_azimuth.la: $(DT_AZIMUTH_OBJS)
	$(LIB_LINK)

Jeroen Vreeken's avatar
Jeroen Vreeken committed
17
CTRL_BLOCKS += dt_az_safety
Jeroen Vreeken's avatar
Jeroen Vreeken committed
18
CTRL_BLOCK_LIBS += libdt_azimuth.la
Jeroen Vreeken's avatar
Jeroen Vreeken committed
19
20
21
22

TARGETS += $(DT_AZIMUTH_TARGETS)
CLEAN += $(DT_AZIMUTH_TARGETS) $(DT_AZIMUTH_OBJS)
SRCS += $(DT_AZIMUTH_SRCS)