summaryrefslogtreecommitdiff
path: root/src/hal/user_comps/vfs11_vfd/Submakefile
blob: 09bdd282a46086132745ab6f34b5182656813080 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18

ifdef HAVE_LIBMODBUS3

VFS11_SRCS = hal/user_comps/vfs11_vfd/vfs11_vfd.c
VFS11_CFLAGS = -DDEBUG $(LIBMODBUS_CFLAGS)
VFS11_LIBS = $(LIBMODBUS_LIBS)

$(call TOOBJSDEPS, $(VFS11_SRCS)) : EXTRAFLAGS += $(VFS11_CFLAGS)

USERSRCS += $(VFS11_SRCS)
../bin/vfs11_vfd: $(call TOOBJS, $(VFS11_SRCS)) ../lib/liblinuxcnchal.so.0 ../lib/liblinuxcncini.so.0
	$(ECHO) Linking $(notdir $@)
	$(Q)$(CC) $(LDFLAGS) -o $@ $^ $(VFS11_LIBS) 

TARGETS += ../bin/vfs11_vfd

endif # HAVE_LIBMODBUS3