summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e764a7b)
raw | patch | inline | side by side (parent: e764a7b)
author | Jeff Lance <j-lance1@ti.com> | |
Fri, 9 Nov 2012 17:50:05 +0000 (11:50 -0600) | ||
committer | Jeff Lance <j-lance1@ti.com> | |
Fri, 9 Nov 2012 17:50:05 +0000 (11:50 -0600) |
* add install and install_debug options
* change makefile name to Makefile to be consistent.
Signed-off-by: Jeff Lance <j-lance1@ti.com>
* change makefile name to Makefile to be consistent.
Signed-off-by: Jeff Lance <j-lance1@ti.com>
Makefile | [moved from makefile with 89% similarity] | patch | blob | history |
diff --git a/makefile b/Makefile
similarity index 89%
rename from makefile
rename to Makefile
index 43fccaede477b594c040b55b5d7fae4de6c151c6..3c57250bdfe42850d66229365dc53323ff57a34d 100644 (file)
rename from makefile
rename to Makefile
index 43fccaede477b594c040b55b5d7fae4de6c151c6..3c57250bdfe42850d66229365dc53323ff57a34d 100644 (file)
--- a/makefile
+++ b/Makefile
@rm -f $(OBJDIR_D)/*
@rm -f $(OBJDIR_R)/*
+install:
+ @install -d $(DESTDIR)/usr/bin
+ @if [ -e Release/screenShot ] ; then \
+ install Release/screenShot $(DESTDIR)/usr/bin ; \
+ echo "screenShot release version installed."; \
+ else \
+ echo "screenShot release version not compiled."; \
+ fi
+
+install_debug:
+ @install -d $(DESTDIR)/usr/bin
+ @if [ -e Debug/screenShot ] ; then \
+ install Debug/screenShot $(DESTDIR)/usr/bin ; \
+ echo "screenShot debug version installed."; \
+ else \
+ echo "screenShot debug version not compiled."; \
+ fi