Figure out where to install-libs
[akaros.git] / user / pthread / Makefile
index 5ecefbd..7734b61 100644 (file)
@@ -11,7 +11,7 @@ INCDIR = $(SRCDIR).
 
 INCS = -I$(INCDIR) 
 FINALLIB = $(OBJDIR)/lib$(LIBNAME).a
-FINALLIB-INSTALL = $(XCC_TARGET_ROOT)/lib/lib$(LIBNAME).a
+FINALLIB-INSTALL = $(XCC_TARGET_LIB)/lib$(LIBNAME).a
 
 uc = $(shell echo $(1) | tr a-z A-Z)
 
@@ -35,7 +35,7 @@ $(FINALLIB): $(OBJS)
 
 $(FINALLIB-INSTALL): $(FINALLIB)
        @cp $(FINALLIB) $@
-       @cp -R $(INCDIR)/*.h $(XCC_TARGET_ROOT)/sys-include/
+       @cp -R $(INCDIR)/*.h $(XCC_TARGET_INCLUDE)/
 
 install: $(FINALLIB-INSTALL)
        @echo > /dev/null