add support for reading initCommands from external files

This commit is contained in:
Sascha Ittner
2018-02-23 13:34:13 +01:00
parent b9ea1904f3
commit 4a4223e3d8
4 changed files with 618 additions and 2 deletions

View File

@@ -10,8 +10,8 @@ install: lcec_conf
mkdir -p $(DESTDIR)$(EMC2_HOME)/bin
cp lcec_conf $(DESTDIR)$(EMC2_HOME)/bin/
lcec_conf: lcec_conf.o
$(CC) -o $@ $< -Wl,-rpath,$(LIBDIR) -L$(LIBDIR) -llinuxcnchal -lexpat
lcec_conf: lcec_conf.o lcec_conf_icmds.o
$(CC) -o $@ lcec_conf.o lcec_conf_icmds.o -Wl,-rpath,$(LIBDIR) -L$(LIBDIR) -llinuxcnchal -lexpat
%.o: %.c
$(CC) -o $@ $(EXTRA_CFLAGS) -URTAPI -U__MODULE__ -DULAPI -Os -c $<