BigW Consortium Gitlab

Commit 4427eac6 by Shikai Chen

enable make install support

parent d9c0e160
...@@ -25,6 +25,9 @@ all: $(EXEC_DEST) ...@@ -25,6 +25,9 @@ all: $(EXEC_DEST)
additional_clean: additional_clean:
rm -f $(EXEC_DEST) rm -f $(EXEC_DEST)
install: $(EXEC_DEST)
install -m 0755 $(EXEC_DEST) $(PREFIX)/bin
include $(PRJ_ROOT)/scripts/common.mak include $(PRJ_ROOT)/scripts/common.mak
......
...@@ -24,6 +24,10 @@ all: $(STATIC_DEST) ...@@ -24,6 +24,10 @@ all: $(STATIC_DEST)
additional_clean: additional_clean:
rm -f $(STATIC_DEST) rm -f $(STATIC_DEST)
install:
tar cf - include | (cd $(PREFIX); tar xf -)
include $(PRJ_ROOT)/scripts/common.mak include $(PRJ_ROOT)/scripts/common.mak
......
...@@ -24,6 +24,10 @@ all: $(STATIC_DEST) ...@@ -24,6 +24,10 @@ all: $(STATIC_DEST)
additional_clean: additional_clean:
rm -f $(STATIC_DEST) rm -f $(STATIC_DEST)
install:
tar cf - include | (cd $(PREFIX); tar xf -)
include $(PRJ_ROOT)/scripts/common.mak include $(PRJ_ROOT)/scripts/common.mak
......
...@@ -26,6 +26,10 @@ all: $(DYNAMIC_DEST) ...@@ -26,6 +26,10 @@ all: $(DYNAMIC_DEST)
additional_clean: additional_clean:
rm -f $(DYNAMIC_DEST) rm -f $(DYNAMIC_DEST)
install: $(DYNAMIC_DEST)
install -m 0755 $(DYNAMIC_DEST) $(PREFIX)/bin
tar cf - include | (cd $(PREFIX); tar xf -)
include $(PRJ_ROOT)/scripts/common.mak include $(PRJ_ROOT)/scripts/common.mak
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment