projects
/
dus.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added the DESTDIR variable.
[dus.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index
279f091
..
7d25f0a
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-21,8
+21,8
@@
# along with dus. If not, see <http://www.gnu.org/licenses/>.
#
# along with dus. If not, see <http://www.gnu.org/licenses/>.
#
-BINARY_PATH = /usr/bin
-MAN_PATH = /usr/share/man/man1
+BINARY_PATH =
$(DESTDIR)
/usr/bin
+MAN_PATH =
$(DESTDIR)
/usr/share/man/man1
LDFLAGS=
LDFLAGS=
@@
-34,7
+34,7
@@
else
OPTIMIZE_FLAG = -O2
endif
OPTIMIZE_FLAG = -O2
endif
-CFLAGS = -Wall -ansi -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DUNAME="$(UNAME)" $(OPTIMIZE_FLAG)
+CFLAGS = -Wall -
Wextra -
ansi -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DUNAME="$(UNAME)" $(OPTIMIZE_FLAG)
all: dus
all: dus