notaz.gp2x.de
/
gpsp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
u7/pandora release
[gpsp.git]
/
pandora
/
Makefile
diff --git
a/pandora/Makefile
b/pandora/Makefile
index
090cccb
..
81a52ea
100644
(file)
--- a/
pandora/Makefile
+++ b/
pandora/Makefile
@@
-14,10
+14,8
@@
BIN = gpsp
# Platform specific definitions
VPATH += .. ../arm
# Platform specific definitions
VPATH += .. ../arm
-CFLAGS += -DARM_ARCH -DPND_BUILD
-CFLAGS += -funsigned-char
+CFLAGS += -DARM_ARCH -DPND_BUILD -Wall
CFLAGS += -mcpu=cortex-a8 -mtune=cortex-a8 -mfloat-abi=softfp -ffast-math
CFLAGS += -mcpu=cortex-a8 -mtune=cortex-a8 -mfloat-abi=softfp -ffast-math
-CFLAGS += -fno-common -fno-builtin
CFLAGS += -ggdb
CFLAGS += -O2
CFLAGS += -ggdb
CFLAGS += -O2
@@
-28,14
+26,25
@@
LIBS += -ldl -lpthread -lz
# Compilation:
# Compilation:
+all: $(BIN) picorestore
+
%.o: %.S
$(CC) $(CFLAGS) -c -o $@ $<
%.o: %.S
$(CC) $(CFLAGS) -c -o $@ $<
-all: $(BIN)
+cpu.o cpu_threaded.o: CFLAGS += -Wno-unused-variable -Wno-unused-label
$(BIN): $(OBJS)
$(CC) $(OBJS) $(LIBS) -o $(BIN)
clean:
$(BIN): $(OBJS)
$(CC) $(OBJS) $(LIBS) -o $(BIN)
clean:
- rm -f *.o $(BIN)
+ rm -f *.o $(BIN) picorestore
+
+# ----------- release -----------
+
+PND_MAKE ?= $(HOME)/dev/pnd/src/pandora-libraries/testdata/scripts/pnd_make.sh
+rel: gpsp gpsp.sh gpsp.pxml gba_icon.png picorestore readme.txt ../game_config.txt ../COPYING.DOC
+ rm -rf out
+ mkdir out
+ cp $^ out/
+ $(PND_MAKE) -p gpsp.pnd -d out -x out/gpsp.pxml -i out/gba_icon.png -c