notaz.gp2x.de
/
picodrive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
(PSP) Add PSP target
[picodrive.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index
d31779c
..
9201afb
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-176,7
+176,11
@@
clean:
$(RM) -r .opk_data
$(TARGET): $(OBJS)
+ifeq ($(STATIC_LINKING), 1)
+ $(AR) rcs $@ $(OBJS)
+else
$(CC) -o $@ $(CFLAGS) $^ $(LDFLAGS) $(LDLIBS)
+endif
pprof: platform/linux/pprof.c
$(CC) -O2 -ggdb -DPPROF -DPPROF_TOOL -I../../ -I. $^ -o $@