notaz.gp2x.de
/
fceu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
random warning fixes
[fceu.git]
/
Makefile.sdl
diff --git
a/Makefile.sdl
b/Makefile.sdl
index
9e08fff
..
792ed5d
100644
(file)
--- a/
Makefile.sdl
+++ b/
Makefile.sdl
@@
-1,7
+1,8
@@
#CROSS_COMPILE =
CC = $(CROSS_COMPILE)gcc
STRIP = $(CROSS_COMPILE)strip
#CROSS_COMPILE =
CC = $(CROSS_COMPILE)gcc
STRIP = $(CROSS_COMPILE)strip
-TFLAGS = -Winline -Izlib -DLSB_FIRST -DUNIX -DPSS_STYLE=1 -DHAVE_ASPRINTF -DZLIB -DFRAMESKIP -D_REENTRANT `sdl-config --cflags`
+TFLAGS += -Winline -Izlib -DLSB_FIRST -DUNIX -DPSS_STYLE=1 -DHAVE_ASPRINTF -DZLIB -DFRAMESKIP -D_REENTRANT `sdl-config --cflags`
+TFLAGS += -Wno-pointer-sign -Wno-parentheses
RM = rm -f
C = drivers/common/
L = drivers/libpicofe/
RM = rm -f
C = drivers/common/
L = drivers/libpicofe/
@@
-26,8
+27,8
@@
all: fceu
include zlib/Makefile
OBJDRIVER = drivers/sdl/sdl.o drivers/sdl/throttle.o \
include zlib/Makefile
OBJDRIVER = drivers/sdl/sdl.o drivers/sdl/throttle.o \
- ${L}fonts.o ${L}readpng.o ${L}input.o ${L}
in_sdl.o ${L}linux/plat
.o \
- ${L}linux/sndout_oss.o \
+ ${L}fonts.o ${L}readpng.o ${L}input.o ${L}
config_file.o ${L}in_sdl
.o \
+ ${L}linux/
plat.o ${L}linux/
sndout_oss.o \
${C}main.o ${C}menu.o ${C}sound-oss.o \
${C}cheat.o ${C}config.o ${C}args.o ${C}vidblit.o ${C}unix-netplay.o \
${UNZIPOBJS} \
${C}main.o ${C}menu.o ${C}sound-oss.o \
${C}cheat.o ${C}config.o ${C}args.o ${C}vidblit.o ${C}unix-netplay.o \
${UNZIPOBJS} \
@@
-43,6
+44,11
@@
include Makefile.base
${C}menu.o: ${C}revision.h
ppu.o: ppu.c ppu.h
${C}menu.o: ${C}revision.h
ppu.o: ppu.c ppu.h
+drivers/sdl/sdl.o: ${L}menu.h
+${L}menu.h:
+ @echo "please run: git submodule init; git submodule update"
+ @false
+
${C}revision.h: FORCE
@(git describe || echo) | sed -e 's/.*/#define REV "\0"/' > $@_
@diff -q $@_ $@ > /dev/null 2>&1 || cp $@_ $@
${C}revision.h: FORCE
@(git describe || echo) | sed -e 's/.*/#define REV "\0"/' > $@_
@diff -q $@_ $@ > /dev/null 2>&1 || cp $@_ $@