
- file services: added support to set filestore basepath at runtime - added IedConnection_getFileDirectoryEx to better control receiving file directories
31 lines
782 B
Makefile
31 lines
782 B
Makefile
LIBIEC_HOME=../..
|
|
|
|
PROJECT_BINARY_NAME = server_example_files
|
|
PROJECT_SOURCES = server_example_files.c
|
|
PROJECT_SOURCES += static_model.c
|
|
|
|
PROJECT_ICD_FILE = simpleIO_direct_control.icd
|
|
|
|
include $(LIBIEC_HOME)/make/target_system.mk
|
|
include $(LIBIEC_HOME)/make/stack_includes.mk
|
|
|
|
all: $(PROJECT_BINARY_NAME)
|
|
|
|
include $(LIBIEC_HOME)/make/common_targets.mk
|
|
|
|
LDLIBS += -lm
|
|
|
|
CP = cp
|
|
|
|
model: $(PROJECT_ICD_FILE)
|
|
java -jar $(LIBIEC_HOME)/tools/model_generator/genmodel.jar $(PROJECT_ICD_FILE)
|
|
|
|
$(PROJECT_BINARY_NAME): $(PROJECT_SOURCES) $(LIB_NAME)
|
|
$(CC) $(CFLAGS) $(LDFLAGS) -o $(PROJECT_BINARY_NAME) $(PROJECT_SOURCES) $(INCLUDES) $(LIB_NAME) $(LDLIBS)
|
|
$(CP) $(PROJECT_BINARY_NAME) vmd-filestore/IEDSERVER.BIN
|
|
|
|
clean:
|
|
rm -f $(PROJECT_BINARY_NAME)
|
|
rm -f vmd-filestore/IEDSERVER.BIN
|
|
|
|
|