diff --git a/trick_source/data_products/makefile b/trick_source/data_products/makefile index 469b921b..b2ef3e11 100644 --- a/trick_source/data_products/makefile +++ b/trick_source/data_products/makefile @@ -8,7 +8,8 @@ LIB_DIR = lib_${TRICK_HOST_CPU} LIBDIRS = Var \ Log \ - EQParse + EQParse \ + units ifneq ("$(wildcard fermi-ware)","") LIBDIRS += fermi-ware diff --git a/trick_source/data_products/units/makefile b/trick_source/data_products/units/makefile index 23763a28..9923ee80 100644 --- a/trick_source/data_products/units/makefile +++ b/trick_source/data_products/units/makefile @@ -1,4 +1,6 @@ +include ${TRICK_HOME}/makefiles/Makefile.common + CC = cc CPP = c++ @@ -38,18 +40,8 @@ $(LIBDIR): OBJECTS: $(CPP_OBJECTS) -ifeq ($(TRICK_FORCE_32BIT), 1) $(LIBDIR)/$(LIBNAME): $(CPP_OBJECTS) $(C_OBJECTS) $(LIB_DIR) ar crs $(LIBDIR)/$(LIBNAME) $? -else -ifeq ($(TRICK_HOME),) -$(LIBDIR)/$(LIBNAME): $(CPP_OBJECTS) $(C_OBJECTS) $(LIB_DIR) - ar crs $(LIBDIR)/$(LIBNAME) $? -else -$(LIBDIR)/$(LIBNAME): $(LIBDIR) - ln -sf ${TRICK_HOME}/lib_${TRICK_HOST_CPU}/libtrick_units.a $(LIBDIR)/$(LIBNAME) -endif -endif depend: @ echo "No depend rule for this directory"