summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-08 16:59:28 (GMT)
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-08 16:59:28 (GMT)
commit19b2860cba5742ab31fd682b80fefefac19be141 (patch)
tree406548bda4dfb72566db6e515e38604a7641ec15 /Makefile
parentbf0c6e839c692142784caf07b523cd69442e57a5 (diff)
downloadgit-19b2860cba5742ab31fd682b80fefefac19be141.zip
git-19b2860cba5742ab31fd682b80fefefac19be141.tar.gz
git-19b2860cba5742ab31fd682b80fefefac19be141.tar.bz2
Use "-Wall -O2" for the compiler to get more warnings.
And fix up the warnings that it pointed out. Let's keep the tree clean from early on. Not that the code is very beautiful anyway ;)
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index a6bba79..6a0a1c9 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-CFLAGS=-g
+CFLAGS=-g -O3 -Wall
CC=gcc
PROG=update-cache show-diff init-db write-tree read-tree commit-tree cat-file