Skip to content
Snippets Groups Projects
Commit 3ee4b4c9 authored by Patrick Robbe's avatar Patrick Robbe
Browse files

Add ECS library

parent 261fe30d
No related branches found
No related tags found
No related merge requests found
lib/
obj/
......@@ -4,7 +4,7 @@ CFLAGS= -c -Wall
LDFLAGS=
#defined global variables and programs to build
include ../conf/Makefile
include Makefile.conf
#Globals Directories
......@@ -20,6 +20,8 @@ include ../conf/Makefile
#PCIE40_DYN_LIB=/usr/lib64
#PCIE40_STAT_LIB=/usr/lib64
PCIE40_INC_DIR=../DriverInterface
OBJ_DIR=obj/
SRC_DIR=src/
INC_DIR=inc/
......@@ -64,10 +66,12 @@ all: $(ECS_OBJ) $(ECS_LIB) $(MINIPODS_OBJ) $(MINIPODS_LIB) $(LTC2990_OBJ) $(LTC2
$(ECS_OBJ): $(OBJ_DIR)%.o : $(SRC_DIR)$(ECS_DIR)%.c
@echo "Construction of ecs objects $@ from $<"
mkdir -p obj
$(CC) $(CFLAGS) -I $(INC_DIR)$(ECS_DIR) -I $(INC_DIR)$(SYSTEM_DIR) -I $(PCIE40_INC_DIR) $< -o $@
$(ECS_LIB) : $(ECS_OBJ)
@echo "Construction of ECS Library"
mkdir -p lib
ar -q $(LIB_DIR)$(ECS_LIB) $(ECS_OBJ)
@echo ""
......
......@@ -46,7 +46,7 @@ ecs_closeUser() ecs_closeLli()
// rpm includes
// PYD 20/03/2018 force the use of rpm for all borads types
#include <lhcb/pcie40/ecs.h>
#include <pcie40/ecs.h>
/**
* \var ecs_userFile
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment