Skip to content
Snippets Groups Projects
Commit 84847727 authored by Mick Jordan's avatar Mick Jordan
Browse files

fix update of library .socom.oracle.truffle.r.native/library/lib.mk

parent e3acdfd9
No related branches found
No related tags found
No related merge requests found
......@@ -56,7 +56,7 @@ PKGDIR := $(FASTR_LIBDIR)/$(PKG)
PKGTAR := $(SRC)/$(OS_DIR)/$(PKG).tar.gz
ifneq ($(C_SOURCES),)
all: libcommon $(LIB_PKG)
all: libcommon $(LIB_PKG) $(PKG_EXTRAS)
else
all: libcommon
endif
......@@ -65,14 +65,15 @@ libcommon: $(PKGDIR)
$(PKGDIR): $(PKGTAR)
tar xf $(PKGTAR) -C $(FASTR_LIBDIR)
touch $(FASTR_LIBDIR)/$(PKG)
$(OBJ):
mkdir -p $(OBJ)
$(LIB_PKG): $(OBJ) $(C_OBJECTS) $(PKGTAR)
$(LIB_PKG): $(OBJ) $(C_OBJECTS) $(PKGDIR)
mkdir -p $(LIBDIR)
$(CC) $(LDFLAGS) -o $(LIB_PKG) $(C_OBJECTS)
mkdir -p $(FASTR_LIBDIR)/$(PKG)/libs
cp $(LIB_PKG) $(FASTR_LIBDIR)/$(PKG)/libs
$(OBJ)/%.o: $(SRC)/%.c $(H_SOURCES)
......@@ -88,4 +89,4 @@ cleanlib:
cleanobj:
rm -f $(LIBDIR)/*.o
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