notaz.gp2x.de
/
picodrive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #35 from lentillog/feature/vita
[picodrive.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index
d7a01df
..
c7fbe9e
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-1,9
+1,9
@@
TARGET ?= PicoDrive
TARGET ?= PicoDrive
-CFLAGS += -Wall
-ggdb -falign-functions=2
+CFLAGS += -Wall
CFLAGS += -I. -DINLINE=inline
ifndef DEBUG
CFLAGS += -O2 -DNDEBUG -ffunction-sections
CFLAGS += -I. -DINLINE=inline
ifndef DEBUG
CFLAGS += -O2 -DNDEBUG -ffunction-sections
-if
eq ($(findstring clang,$(CC)),
)
+if
neq ($(APPLE),1
)
LDFLAGS += -Wl,--gc-sections
endif
endif
LDFLAGS += -Wl,--gc-sections
endif
endif
@@
-13,6
+13,10
@@
endif
#drc_debug = 7
#profile = 1
#drc_debug = 7
#profile = 1
+ifeq ($(WANT_GDB),1)
+CFLAGS += ggdb -falign-functions=2
+endif
+
all: config.mak target_
all: config.mak target_