Added external user binary support (usrbin/)
[akaros.git] / user / apps / Makefrag
index a3aa56a..13c5c44 100644 (file)
@@ -1,5 +1,11 @@
 USER_APPS_DIR = $(USER_DIR)/apps\r
 \r
+USER_APPS_USR_DIR := $(USER_APPS_DIR)/usr\r
+\r
+$(OBJDIR)/$(USER_APPS_USR_DIR)/%: usrbin/$(TARGET_ARCH)/%\r
+       @mkdir -p $(OBJDIR)/$(USER_APPS_USR_DIR)\r
+       @cp $< $@\r
+\r
 include $(USER_APPS_DIR)/roslib/Makefrag\r
 include $(USER_APPS_DIR)/parlib/Makefrag\r
 \r