summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Juyung Seo <seojuyung2@gmailcom>2013-05-14 10:22:10 +0530
committerDaniel Juyung Seo <seojuyung2@gmailcom>2013-05-14 10:22:10 +0530
commit906518963910afb333fcaed620094ce38d8c3f75 (patch)
treed4e94114afeb5d4591b0239d4e3117f6d8c47bac
parent3cffa5c20ada3f5f80e58f5b252777e685dd5588 (diff)
Makefile: added 'uninstall'.
-rw-r--r--sample/Makefile4
-rw-r--r--sample/template/Makefile4
2 files changed, 8 insertions, 0 deletions
diff --git a/sample/Makefile b/sample/Makefile
index 9a07332..818bbb9 100644
--- a/sample/Makefile
+++ b/sample/Makefile
@@ -42,5 +42,9 @@ install: $(BINARY) $(EDJDIR)/layout.edj
42 @mkdir -p $(DATADIR)/images 42 @mkdir -p $(DATADIR)/images
43 @install data/images/* $(DATADIR)/images 43 @install data/images/* $(DATADIR)/images
44 44
45uninstall:
46 rm -rf $(DATADIR)
47 rm -rf $(BINDIR)/$(BINARY)
48
45clean: 49clean:
46 @rm -f *.o *.edj *~ $(BINARY) 50 @rm -f *.o *.edj *~ $(BINARY)
diff --git a/sample/template/Makefile b/sample/template/Makefile
index 9a07332..818bbb9 100644
--- a/sample/template/Makefile
+++ b/sample/template/Makefile
@@ -42,5 +42,9 @@ install: $(BINARY) $(EDJDIR)/layout.edj
42 @mkdir -p $(DATADIR)/images 42 @mkdir -p $(DATADIR)/images
43 @install data/images/* $(DATADIR)/images 43 @install data/images/* $(DATADIR)/images
44 44
45uninstall:
46 rm -rf $(DATADIR)
47 rm -rf $(BINDIR)/$(BINARY)
48
45clean: 49clean:
46 @rm -f *.o *.edj *~ $(BINARY) 50 @rm -f *.o *.edj *~ $(BINARY)