projects
/
simavr
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Makefile: Bit more cleanup
[simavr]
/
Makefile.common
diff --git
a/Makefile.common
b/Makefile.common
index
6c52f1d
..
75f687c
100644
(file)
--- a/
Makefile.common
+++ b/
Makefile.common
@@
-29,6
+29,7
@@
# get the first character of what the compiler says it is, unless it's 'x86_64' doh
ARCH = ${shell $(CC) -dumpmachine | sed -e 's/^x/i/' -e 's/\(.\).*/\1/'}
+CFLAGS += -O2 -Wall
ifeq ($(ARCH), i)
CFLAGS += -mfpmath=sse -msse2
endif