summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeff Lance2012-11-09 11:50:05 -0600
committerJeff Lance2012-11-09 11:50:05 -0600
commitf4da5a38d5e7c4eb005224f5cf193ce6a76ba30b (patch)
tree428c37194d6643255f3f2c4b4dc58abadd4cd70e
parente764a7b6c024a97eb5db380f4573b66757338502 (diff)
downloadscreenshot-f4da5a38d5e7c4eb005224f5cf193ce6a76ba30b.tar.gz
screenshot-f4da5a38d5e7c4eb005224f5cf193ce6a76ba30b.tar.xz
screenshot-f4da5a38d5e7c4eb005224f5cf193ce6a76ba30b.zip
Fixing up makefile
* add install and install_debug options * change makefile name to Makefile to be consistent. Signed-off-by: Jeff Lance <j-lance1@ti.com>
-rw-r--r--Makefile (renamed from makefile)17
1 files changed, 17 insertions, 0 deletions
diff --git a/makefile b/Makefile
index 43fccae..3c57250 100644
--- a/makefile
+++ b/Makefile
@@ -124,3 +124,20 @@ clean:
124 @rm -f $(OBJDIR_D)/* 124 @rm -f $(OBJDIR_D)/*
125 @rm -f $(OBJDIR_R)/* 125 @rm -f $(OBJDIR_R)/*
126 126
127install:
128 @install -d $(DESTDIR)/usr/bin
129 @if [ -e Release/screenShot ] ; then \
130 install Release/screenShot $(DESTDIR)/usr/bin ; \
131 echo "screenShot release version installed."; \
132 else \
133 echo "screenShot release version not compiled."; \
134 fi
135
136install_debug:
137 @install -d $(DESTDIR)/usr/bin
138 @if [ -e Debug/screenShot ] ; then \
139 install Debug/screenShot $(DESTDIR)/usr/bin ; \
140 echo "screenShot debug version installed."; \
141 else \
142 echo "screenShot debug version not compiled."; \
143 fi