build.mk 579 Bytes
Newer Older
Jeroen Vreeken's avatar
Jeroen Vreeken committed
1
2
3
4
5
6
7
8
9
10
11

DT_AZIMUTH_TARGETS += $(LIBDIR)/libdt_azimuth.la


DT_AZIMUTH_SRCS = \
	$(DIR)/dt_az_safety.c \
	$(DIR)/dt_az_stoeber_sim.c

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


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

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

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